[R] xyplot with grid?

Gabor Grothendieck ggrothendieck at gmail.com
Wed May 9 21:05:31 CEST 2007


Add the argument

   type = c("p", "g")

to your xyplot call.



On 5/9/07, Gav Wood <news at gavofyork.fastmail.fm> wrote:
> > Giving a reproducible example would be a good start.
>
> Ok, what's the easiest way to get a grid (ala grid()) on this graph?
>
> xyplot(x~y,data.frame(x=1:9,y=1:9,z=sort(rep(c('A','B','C'),3))),
>     groups=z,auto.key=list(columns=3))
>
> Bish bosh,
>
> Gav
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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