
Last chance! 50% off unlimited learning
Sale ends in
x
(and y
where appropriate)
variables with different graphical properties for each distinct value
of the grouping variable.panel.superpose(x, y, panel.groups = "panel.xyplot", subscripts, groups, type="p", ...)
panel.superpose.2(x, y, subscripts, groups, type="p", ...)
panel.xyplot
(behaviour in S)groups
. The default graphical parameters
are obtained from superpose.symbol
and panel.xyplot
for details of what the values
can be. This is meaningful for panel.superpose
only when
panel.xyplot
. In particular, colour can be specified using 3
arguments (col, col.line, col.symbol
panel.groups
gives
different types of plots, for example panel.xyplot
,
panel.dotplot
and panel.linejoin
(This
can be used to produce interaction plots).data(barley)
dotplot(variety ~ yield | site, barley, groups = year,
layout = c(1, 6), aspect = .5,
col.line = c("grey", "transparent"),
panel = "panel.superpose",
panel.groups = "panel.dotplot")
Run the code above in your browser using DataLab