effectsTheme | R Documentation |
Set the lattice theme (see trellis.device
) appropriately for effect plots. This function is invoked
automatically when the effects package is loaded if the lattice package hasn't previously been loaded. A typical
call is lattice::trellis.par.set(effectsTheme())
.
effectsTheme(strip.background = list(col = gray(seq(0.95, 0.5, length = 3))), strip.shingle = list(col = "black"), clip = list(strip = "off"), superpose.line = list(lwd = c(2, rep(1, 6))), col)
strip.background |
colors for the background of conditioning strips at the top of each panel; the default uses shades of gray and makes allowance for up to three conditioning variables. |
strip.shingle |
when lines rather than numeric values are used to indicate the values of conditioning variables, the default sets the color of the lines to black. |
clip |
the default allows lines showing values of conditioning variables to extend slightly beyond the boundaries of the strips—making the lines more visible at the extremes. |
superpose.line |
the default sets the line width of the first (of seven) lines to 2. |
col |
an optional argument specifying the colors to use for lines and symbolst:
if |
a list suitable as an argument for trellis.par.set
; current values of modified parameters are
supplied as an attribute.
John Fox jfox@mcmaster.ca
trellis.device
, trellis.par.set
## Not run: lattice::trellis.par.set(effectsTheme()) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.