Learn R Programming

lattice (version 0.12-9)

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 = NULL, subscripts, groups,
                panel.groups = "panel.xyplot",
                col, col.line, col.symbol,
                pch, cex, font,
                fontface, fontfamily,
                lty, lwd, alpha,
                type = "p",
                ...)
panel.superpose.2(x, y = NULL, subscripts, groups,
                  panel.groups = "panel.xyplot",
                  col, col.line, col.symbol,
                  pch, cex, font, 
                  fontface, fontfamily, 
                  lty, lwd, alpha,
                  type = "p",
                  ...)

Arguments

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).