Re: [R] merging multiple data frames with different numbers of rows

2008-04-29 Thread Gabor Grothendieck
It appears that these are time series (i.e. there is only one value of River Mile in any one data frame) so if that's right you would be better off representing them as time series. Using zoo: > library(zoo) > feb06.z <- zoo(feb06[,2], feb06[,1]) > may06.z <- zoo(may06[,2], may06[,1]) > jun06.z <

[R] merging multiple data frames with different numbers of rows

2008-04-29 Thread stephen sefick
merge can only merge two objects at a time- I would like to merge more than two objects at a time. s.d <- structure(list(RiverMile = c(202L, 198L, 190L, 185L, 179L, 148L, 119L, 61L)), .Names = "RiverMile", row.names = c(NA, -8L), class = "data.frame") #s.d is all of the river miles that can occur