Learn R Programming

lattice (version 0.11-8)

panel.superpose: Panel Function for Display Marked by groups

Description

These are panel functions for Trellis displays useful when a grouping variable is specified for use within panels. The x (and y where appropriate) variables are plotted with different graphical parameters for each distinct value of the grouping variable.

Usage

panel.superpose(x, y, panel.groups = "panel.xyplot",
                subscripts, groups, type="p", ...)
panel.superpose.2(x, y, panel.groups = "panel.xyplot",
                  subscripts, groups, type="p", ...)

Arguments

synopsis

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

See Also

Different functions when used as panel.groups gives different types of plots, for example panel.xyplot, panel.dotplot and panel.linejoin (This can be used to produce interaction plots).