[R] What is the equivalent function in R to xyplot in S?

Peter Alspach Peter.Alspach at plantandfood.co.nz
Mon Feb 8 23:36:08 CET 2010


Tena koe

library(lattice)
?xyplot

HTH .....

Peter Alspach 

> -----Original Message-----
> From: r-help-bounces at r-project.org 
> [mailto:r-help-bounces at r-project.org] On Behalf Of 
> bluesky315 at gmail.com
> Sent: Tuesday, 9 February 2010 11:31 a.m.
> To: r-help at 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 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