panel.superpose.2 {heR.Misc}R Documentation

Trellis panel function to superpose data sets

Description

This is a version of the panel.superpose Trellis panel function that allows the plot type to change between superimposed (overlayed) data sets

Usage

panel.superpose.2(x, y, subscripts, groups, col, col.line = superpose.line$col, 
                  col.symbol = superpose.symbol$col, pch = superpose.symbol$pch,
                  cex = superpose.symbol$cex, lty = superpose.line$lty,
                  lwd = superpose.line$lwd, type="p", ...)

Arguments

x x data values
y y data values
subscripts subscript specifying data to plot
groups group specification
col colors for plot
col.line line colors
col.symbol symbol colors
pch plotting symbols
cex symbol magnification
lty line types
lwd line widths
type type of plot
... additional parameters

Details

See the orignal panel.superpose documentation for details on the arguments passed.

See the panel.xyplot function for details on the type option which is usually a single character, but here is a character vector with each element specifying the plot style of each subsequently-overlayed plot.

This function will probably be included in the next lattice package release.

Value

A Trellis xyplot with superimposed data sets

Author(s)

Neil E. Klepeis
neil AT exposurescience DOT org
http://klepeis.net


[Package heR.Misc version 0.0.4 Index]