Skip to content

Rbind for appending zoo objects

3 messages · Shubha Vishwanath Karanth, Gabor Grothendieck, Achim Zeileis

#
That is how rbind in the core of R works too and rbind.zoo works the same.

Try:

rbind(y1, y2[, colnames(y1)])
On 1/30/07, Shubha Vishwanath Karanth <shubhak at ambaresearch.com> wrote:
#
On Tue, 30 Jan 2007, Shubha Vishwanath Karanth wrote:

            
We do not check the column names at all. This should probably be changed.
Sort the columns by hand before calling rbind().
Yes, recall that the second "o" in "zoo" means "ordered".

Best,
Z