Hi,
I let xzoo be an empty object:
> xzoo<-{}
and I have an existing zoo object x1zoo_f. I would like to combine
the two to make a new zoo object, and continue doing so in a loop,
which is not shown here. However, when I type
> xzoo<-cbind(xzoo, x1zoo_f)
An error message emerges
Error in zoo(structure(x, dim = dim(x)), index(x), ...) :
x : attempt to define invalid zoo object
Is there any way to define an empty zoo object?
Thanks,
Miao
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.