[R] xyplot with different symbols and colors?

Stefan Grosse singularitaet at gmx.net
Fri Aug 25 18:38:07 CEST 2006

R> trellis.par.set(superpose.symbol=list(pch=c(1, 2)))
Warning message:
Note: The default device has been opened to honour attempt to modify trellis settings in: trellis.par.set(superpose.symbol = list(pch = c(1, 2))) 
R> xyplot(csoa~it|sex*agegp,data=tinting,groups=target,auto.key=list(space="right"))

Thanks that did it!

More information about the R-help mailing list