On 2010-12-13 03:13, Francesco Nutini wrote:

 > From: fe...@nfrac.org

[...snip...]

 >
 > xyplot(y1 + y2 ~ x | sites, DF, type = "b")


Great Felix! this is what I was looking for!
But if y1 and y2 have a different scales? Can I plot, for example y2, on
secondary axis?

There are probably good reasons why you should not
do this, but one way is to use doubleYScale() in the
latticeExtra package.

Peter Ehlers


Thanks for your help,

Francesco Nutini

[...snip...]

______________________________________________
R-help@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.

Reply via email to