[R] plot a list

Gabor Grothendieck ggrothendieck at gmail.com
Sun Sep 7 01:22:04 CEST 2008


Please read the last line to every message to r-help. In particular
this question needs to include a cut down version of the data.

I'll take a guess at what it looks like:

library(zoo)
L <- list(a = zoo(1:3), b = zoo(4:5))
plot(do.call(merge, L))


On Sat, Sep 6, 2008 at 4:47 PM, stephen sefick <ssefick at gmail.com> wrote:
> i have a list of 6 each containing a dataframe of 96 observations as a
> zoo object.  Is there a way to plot these in one frame
> par(mfrow=c(3,2))
>
> this is what I tried
> lapply(d, FUN=plot)
>
> I can provide data, list is large.
> thanks
>
> --
> Stephen Sefick
> Research Scientist
> Southeastern Natural Sciences Academy
>
> Let's not spend our time and resources thinking about things that are
> so little or so large that all they really do for us is puff us up and
> make us feel like gods. We are mammals, and have not exhausted the
> annoying little problems of being mammals.
>
>        -K. Mullis
>
> ______________________________________________
> R-help at r-project.org 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.
>



More information about the R-help mailing list