Tena koe library(lattice) ?xyplot
HTH ..... Peter Alspach > -----Original Message----- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of > bluesky...@gmail.com > Sent: Tuesday, 9 February 2010 11:31 a.m. > To: r-h...@stat.math.ethz.ch > Subject: [R] What is the equivalent function in R to xyplot in S? > > Page 140 of MASS uses the function xyplot. But I don't find it in R. > Is there a package that I should load to use xyplot. Or there > is a function with a different name in R that does the same > thing as xyplot in S. > > xyplot(Gas ~ Temp | Insul, whiteside, panel = function(x, y, > ...) { panel.xyplot(x, y, ...) panel.lmline(x, y, ...) }, > xlab = "Average external temperature (deg. C)", ylab = "Gas > consumption (1000 cubic feet)", aspect = "xy", strip = > function(...) strip.default(..., style = 1)) > > ______________________________________________ > 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. > ______________________________________________ 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.