Usage
strip.default(which.given,
which.panel,
var.name,
factor.levels,
shingle.intervals,
strip.names = c(FALSE, TRUE),
style = 1,
bg = trellis.par.get("strip.background")$col[which.given],
fg = trellis.par.get("strip.shingle")$col[which.given],
par.strip.text = trellis.par.get("add.text"))
Arguments
which.given
integer index specifying which of the conditioning
variables this strip corresponds to.
which.panel
vector of integers as long as the number of
conditioning variables. The contents are indices specifing the
current levels of each of the conditioning variables (thus, this
would be unique for each distinct panel).
var.name
vector of character strings as long as the number of
conditioning variables. The contents are the names of the
conditioning variables, to be used if the appropriate entry in
strip.names
(see below) is true.
factor.levels
if the current strip corresponds to a factor,
this should be a character vector giving the levels of the factor
(of the form that would be produced by levels(factor)
).
Otherwise, it should be NULL
shingle.intervals
if the current strip corresponds to a shingle,
this should be a 2-column matrix giving the levels of the shingle.
(of the form that would be produced by printing
levels(shingle)
). Otherwise, it should be NULL
strip.names
a logical vector of length 2, indicating whether
or not the name of the conditioning variable that corresponds to the
strip being drawn is to be written on the strip. The two components
give the values for factors and shingles respectively.
style
integer, with values 1,2,3,4,5 and 6 currently supported.
Applicable only when x
is a factor. Determines how the current
level of x
is indicated on the strip. The best way to find out what effect the value of s
par.strip.text
list with parameters controlling the text on
each strip, with components col, cex, font
bg
strip background color.
fg
strip foreground color.