Skip to content

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:
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