[R] zoo: merging aggregated zoo-objects fails

gunnar.p pruss at uni-potsdam.de
Mon Sep 28 13:09:54 CEST 2009


Hello Gabor,
I just tried dput() and it seems that running aggregate deletes the
following information from zoo objects:
origin = structure(c(1, 1, 1970))

So before merging I added:
chron(index(z),origin=c(1,1,1970))->index(z)
which solves my problem.

Is that behaviour of aggregate.zoo intended or a bug?

Yours sincerely,
gunnar
-- 
View this message in context: http://www.nabble.com/zoo%3A-merging-aggregated-zoo-objects-fails-tp25633345p25643930.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list