I have created a merged data frame and in turn merged that with another
dataframe. I could see how it could become a pain if you had lots of
dataframes. I would try running a for loop...but have never done it.
"joseph" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi
> merge() t
The zoo package has a multi-way merge that works with zoo series
There is an example in this thread in which non-zoo data are converted
to zoo and merged:
https://stat.ethz.ch/pipermail/r-help/2008-January/151541.html
library(zoo)
?merge.zoo
Also zoo has 3 vignettes you could look at.
On Feb
Try this:
data1 <- data.frame(Id=LETTERS[1:5], Value=sample(5))
data2 <- data.frame(Id=data1$Value, Value=c(10,20,30,40,50))
data3 <- data.frame(Id=data2$Value, Value=rnorm(5))
merge(merge(data1, data2, by.x="Value", by.y="Id"), data3,
by.x="Value.1", by.y="Id")
On 12/02/2008, joseph <[EMAIL P
Hi
merge() takes only 2 data frames. What can you do to it to make take more than
two data frames? or is there another function that does that?
Thanks
joseph
Looking for last minute shopping deals?
4 matches
Mail list logo