Re: [R] setting up zoo objects from a data frame: solved.

From: Stefan Grosse <>
Date: Tue, 08 Jun 2010 17:28:39 +0200

Am 08.06.2010 17:04, schrieb Erin Hodgess:
> Here is a particular way to solve the problem:

If you solve your own problem then please reply to your own message otherwise things get confused. How should one know what your problem was without knowing your first e-mail - if you reply your own e-mail it gets sorted as such otherwise not. However
>> cat.zoo <- zoo(table(dog.df$V1,dog.df$V2)[,1],order=test3)
>> dog.zoo <- zoo(table(dog.df$V1,dog.df$V2)[,1],order=test3)
that must be an error, a line to much bur you "heal" it:
>> dog.zoo <- zoo(table(dog.df$V1,dog.df$V2)[,2],order=test3)
>> tree.zoo <- zoo(table(dog.df$V1,dog.df$V2)[,3],order=test3)

This is way to complicating, you should put the things into one object, then you can e.g. plot them or analyse them.

You can do so after this more complicating code with:

all<-merge(cat.zoo,dog.zoo,tree.zoo) mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 08 Jun 2010 - 15:31:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 Jun 2010 - 15:50:28 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive