[R] Plotting multiple time series with variables having different units
Bert Gunter
gunter.berton at gene.com
Sun Feb 2 21:33:02 CET 2014
If I understand you correctly, there are so many ways to do this
(ggplot2, lattice, base graphics with multiple graphs per page via
?layout,...) that I am puzzled as to how you failed to find what you
needed. Exactly what was it that you read that left you unable to do
this? Perhaps some additional links need to be created.
Incidentally, did you check the CRAN graphics task view?
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
H. Gilbert Welch
On Sun, Feb 2, 2014 at 11:09 AM, David Parkhurst <parkhurs at imap.iu.edu> wrote:
> I've tried to figure out how to do this from what I read, but haven't been
> successful. Suppose I have a dataframe with variables Date, X, and Y (and
> maybe U, V, and Z) where X, Y, etc. have different units. I'd like to plot
> Y vs. Time above X vs. Time, above one another.
>
> For example, X is the number of gulls counted on a reservoir, and Y is the
> number of coliform bacteria counted on a petri plate from a water sample
> leaving the reservoir, so these have very different ranges. U and V might be
> numbers of geese and numbers of ducks counted on the same days.
>
> What commands would I use to create such a set of plots?
> Thank you for any help.
> David
>
> ______________________________________________
> 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