panel.superpose: Panel Function for Display Marked by groups
Description
This is an useful panel function for trellis displays. Uses a grouping
variable, plotting the x
and y
variables with different
graphical properties for each distinct value of the grouping variable.Usage
panel.superpose(x, y, subscripts, groups, type="p", ...)
Arguments
x,y
coordinates of the points to be displayed
subscripts
subscripts giving indices in original data frame
groups
a grouping variable. Different graphical parameters
will be used for each distinct value of groups
. The default
graphical parameters are obtained from superpose.symbol
and
superpose.line
using
type
if "p" points are plotted, if "l", the points are joined
by lines, if "b", both are done.
synopsisi
panel.superpose(x, y, subscripts, groups, type = "p",
col = superpose.symbol$col,
pch = superpose.symbol$pch,
lty = superpose.line$lty, ...)