Skip to content
Prev 3313 / 15274 Next

Concatenating time series objects?

Do it in zoo and then convert to xts at the end:

z1 <- zooreg(1:10, as.Date("2008-01-01"))
z2 <- zooreg(1:10, as.Date("2008-02-01"))
z <- c(z1, z2)
x <- as.xts(z)
On Tue, Dec 2, 2008 at 12:55 AM, Marc Delvaux <mdelvaux at gmail.com> wrote: