Hi I have n zoo objects M1, M2, M3, ... , Mn that I want to merge where n is a number calculated at run-time.
I am struggling to find the correct syntax to do this Assuming n is calculated as 10 (for example), I have tried n = 10 # First Effort alldata= merge(paste("M",rep(1:n), sep=""),all=TRUE) # Second Effort alldata =merge(noquote(toString(paste("M",rep(1:nrow(counts1)),sep=""))),all=TRUE) Any insights would be gratefully received. Kind regards Pete -- View this message in context: http://r.789695.n4.nabble.com/Merging-zoo-objects-tp3184696p3184696.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.