[R] xyplot with grid?

Gav Wood news at gavofyork.fastmail.fm
Wed May 9 20:13:25 CEST 2007


> 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



More information about the R-help mailing list