R: Set the lattice Theme for Effect Plots

effectsTheme {effects} | R Documentation

## Set the lattice Theme for Effect Plots

### Description

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

### Usage

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

### Arguments

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

### Value

a list suitable as an argument for `trellis.par.set`; current values of modified parameters are supplied as an attribute.

### Author(s)

John Fox jfox@mcmaster.ca

### See Also

`trellis.device`, `trellis.par.set`

### Examples

    ## Not run:
    lattice::trellis.par.set(effectsTheme())

    ## End(Not run)

[Package effects version 4.0-1 Index]