Learn R Programming

lattice (version 0.3-1)

strip.default: Default Trellis strip function

Description

function that draws strips in trellis functions.

Usage

strip.default(x, level, style = 1,
              strip.names = is.shingle(x), name="", bg, fg,
              par.strip.text)

Arguments

x
the conditioning variable to which the strip corresponds.
level
current level of the conditioning variable x.
style
integer, with values 1,2,3 and 4 currently supported. Applicable only when x is a factor. Determines how the current level of x is indicated on the strip. Details later. Note that unlike S-Plus the default value is 1.
strip.names
logical specifying whether the name of the current conditioning variable should be included on the strip. Ignored for style=2 and 4 when x is a factor.
name
the name of the conditioning variable for the current strip
par.strip.text
list with parameters controlling the text on each strip, with components col, cex
bg
strip background color.
fg
strip foreground color.

Details

default strip function for trellis functions. Useful mostly because of the style argument --- non-default styles are often more informative, especially when the names of the levels of the factor x are small. Typical use is as strip = function(...) strip.default(style=2,...)

See Also

trellis.args, Lattice