[R] zoo column names
Peter.Brecknock at bp.com
Sun Jan 9 01:42:35 CET 2011
I am trying to find a way to prevent column names from changing on zoo
objects when I merge them.
I have column names that contain a "-" that after merging have become "."
zz1 = zoo(as.matrix(1:5))
zz2 = zoo(as.matrix(10:12))
Obviously, I could do something like
names(zz3) = c(names(zz1),names(zz2))
but I have a large number of zoo objects that I am merging. Creating the
simple line above is not that easy.
Any thoughts would be gratefully received.
View this message in context: http://r.789695.n4.nabble.com/zoo-column-names-tp3205568p3205568.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help