An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20050928/d77572c7/attachment.pl
xyplots
2 messages · Nathan Leon Pace, MD, MStat, Deepayan Sarkar
On 9/28/05, Nathan Leon Pace, MD, MStat <N.L.Pace at m.cc.utah.edu> wrote:
Hi All, I have a four panel xyplot. I wish to plot each point as an open or filled circle depending on the value of an indicator variable. I assume I need to use panel.superpose(), but I can't figure out the syntax from lattice documentation.
Not directly. You do need to change the plotting character (pch). Here
are two ways to do it (the second is longer but recommended):
dotplot(variety ~ yield | site, data = barley, groups = year, pch = c(1, 16))
dotplot(variety ~ yield | site, data = barley, groups = year,
auto.key = TRUE,
par.settings = list(superpose.symbol = list(pch = c(1, 16))))
Deepayan