Displaying 20 results from an estimated 10000 matches similar to: "Linking R with Microsoft SQL Server / Client"
2007 Feb 13
1
RE2: Suddenly "Subscript out of bounds"
If you tell me how to update R itself automatically, I will go for your
advice.
I am not aware of any method to do it...
Bye
Rick
"ONKELINX,
Thierry"
2006 Oct 25
3
simplification of code using stamp?
Hi
I have the following code which I would like to simplify. Id does linear
regressions and returns the r-squares, and the coefficients.
It runs slow, as it is doing the regressions for each - is it possible
to get the values in a dataframe which looks as follow:
expert | xx | seeds | r.squared | slope | intercept
Thanks in advance,
Rainer
library(reshape)
rsqs <- as.data.frame(
2006 Nov 10
2
Simplifying Sweave graphics
Een ingesloten tekst met niet-gespecificeerde tekenset is
van het bericht gescrubt ...
Naam: niet beschikbaar
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20061110/9afb0083/attachment.pl
2007 Aug 28
5
sql query over local tables
Hi i have to table with IDs in each one.
I want to make a join (as in sql) by the ID. Is any way to use the RODBC
package (or other) in local tables (not a access, mysql, sql, etc. ) and
made the join?
Thanks in advance
2007 Jan 03
2
understanding integer divide (%/%)
I am confused about why the following occurs:
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 4.0
2007 Feb 13
5
Fatigued R
Hi R,
Please solve my problem...........
I am extracting Bloomberg data from R, in a loop. R is getting fatigued
by doing this process and gives some errors. I introduced sleep
function. Doing this sometimes I get the results and sometimes not. I
even noticed that if I give complete rest for R (don't open R window)
for 1 day and then run my code with the sleep function, then the
2007 Feb 16
2
plotting
Hello,
I use newly R! I'd like to plot several data set together in one output window! How can I do that?
Best regards
Hadi
---------------------------------
Never miss an email again!
[[alternative HTML version deleted]]
2007 Apr 25
1
program avail. for simulating spatial patterns?
Hi all,
I am wondering if there is a function available in R for simulating
spatial distribution of objects (plants in this case) in order to
simulate sampling of a population . Specifically, I would like to be
able to change the spatial correlation of individuals. I don't want
to reinvent the wheel if it already exists.
Thanks,
Wade
2006 Sep 20
1
Simulation help
I'm trying to simulate trend data over a five year period. I want
different trend profiles...the simplest being a linear trend. I've been
using the following code:
patBdta1 <- NULL
for(i in 1:100)
patBdta1 <- rbind(patBdta1,c(yr1= mean(rbinom(50,1,.50)),
yr2 =mean(rbinom(50,1,.51)),
yr3 =mean(rbinom(50,1,.52)),
2006 Sep 12
1
Using XY location data to calculate ecological parameters
Dear R gurus,
I have XY data giving the locations of tree seedlings that were
surveyed during a 210 meter belt transect. This belt transect was
taken by stretching a line across the field, then measuring all
seedlings within 1 meter on either side of the line. The end result
was XY coordinates and height for ~1,300 seedlings. I would like to
use that data to calculate density of
2007 Jun 04
2
Abstract plot
I want to make a plot, but instead of showing _numerical_ values,
I would like to show _symbolic_ values.
For example, I want to plot a function y = a x + b, where
x varies between Xmin and Xmax. I would like the plot
to show, in the x-axis, the strings Xmin and Xmax, instead
of their numeric values. Is it possible?
Alberto Monteiro
2007 Apr 25
1
Help with saptial analysis (cluster)
Hi R-users
I'm a beginner with R and statistics, so I need some help to start my data
analysis. I've been reading some docs and tutorials on R and cluster analysis.
I've got a large dataset (102000 points) with values of longitude, latitude and
temperature and want to see if I can find groups (clusters).
Following some tutorials I can look for principal components but get an error
2006 Dec 05
1
error: too many open devices
Hello all--
I've been using 1.13 (v1915) on my Mac pretty intensly for about a
month, but today when I tried to generate a plot I recieved this
message:
Error in quartz(width=9) : too many open devices
I was caught by surprise, because I only had the R console open at the
time. I checked to be sure, by clicking "Window" at the top bar, and R
console was the only window open. I
2007 Feb 21
1
Trying to get an apply to work with a list in applying names to tables
I am trying to use apply and a list to supply names
to a set of tables I want to generate. Below is an
example that I hope mimics the larger original
problem.
EXAMPLE
aa <- c( 2,2,1,1,2)
bb <- c(5,6,6,7,4)
aan <- c("yes", "no")
bbn <- c("a", "b", "c", "d")
mynames <- c("abby", "billy")
mylist <-
2007 Jun 03
2
getting t.test to work with apply()
Hi, I'm interested in using apply() with t.test() on a data.frame.
Specifically, I'd like to use apply() to do the following:
t.test(raw.sample[1,alive],raw.sample[1,dead])
t.test(raw.sample[2,alive],raw.sample[2,dead])
t.test(raw.sample[3,alive],raw.sample[3,dead])
etc.
I tried the following,
apply(raw.sample,1,function(x) t.test(raw.sample[,alive],raw.sample[,dead]))
but it gives
2007 Jan 09
3
dimensions of a all objects
Why will the following command not work
sapply(objects(),dim)
What does it say about the objects list? What does it say about the dim
command?
Likewise, the following also does not work
all<-ls()
for (f in all) print(dim(f))
--
Farrel Buchinsky
[[alternative HTML version deleted]]
2007 Feb 07
2
Finding not-matching rows in tables
I have these two dataframes in which 'id' is the key field
> tabella
id nome
1 1 PIEMONTE
2 2 VALLED'AOSTA
3 3
LOMBARDIA
4 4 TRENTINO
5 5 VENETO
6 6 FRIULI
AND
> tab
id nome
1 1 PIEMONTE
2 2 VALLED'AOSTA
3 3 LOMBARDIA
4 4 TRENTINO
5 25 CAMPANIA
6 28
LAZIO
Is there any
2006 Nov 23
2
t.test()
Hi
I have a vector x of length n. I am interested in x[1]
being different from the other observations (ie x[-1]).
My null hypothesis is that x[1]
is drawn from a Gaussian distribution of the same
mean as observations x[-1], which are assumed
to be iid Gaussian. The (unknown) variance
of x[1] is assumed to be the same as the
variance of x[-1].
This should be an unpaired t-test.
But
2007 May 22
2
R-help with apply and ccf
Dear R gurus,
I would like to use the ccf function on two matrices that are each 196000 x
12. Ideally, I want to be able to go row by row for the two matrices using
apply for the ccf function and get one 196000 X 1 array output. The apply
function though wants only one array, no? Basically, is there a way to use
apply when there are two arrays in order to do something like correlation on
a row
2007 Feb 14
2
Is this a correct forum to discuss basic R problem?
Hi
Sorry if this is a wrong post in the forum. Please suggest if this is a
correct forum to discuss R related basic problem.
I wanted to perform the following task by using R:
e.g.
input data.frame
x y
============
a 10
b 20
a 10
a 10
b 15
b 15
b 20
In o/p i need
x