zoo already can handle multivariate data so you can just use
that directly rather than using data frames.
See the examples in ?plot.zoo and ?xyplot.zoo
On 7/30/07, Edna Bell <edna.bell01 at gmail.com>
wrote:> Hi R gurus:
>
> I have some zoo objects that I have put into a data.frame.
>
> However, when I try to plot the objects from the data frame, the x
> axis is now Index rather than time
>
> Is there a sort of zoo data frame or a multiple zoo object, please?
>
> Thanks for any help!
>
> Sincerely,
> Edna
> edna.bell01 at gmail.com
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>