strip.shingle {TeachingDemos} | R Documentation |
The strip.shingle
function is a modification of
strip.default
that shows the range of each shingle in the
panel strips as well as the name of the shingle variable.
strip.shingle(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"))
which.given |
See strip.default . |
which.panel |
See strip.default . |
var.name |
See strip.default . |
factor.levels |
See strip.default . |
shingle.intervals |
See strip.default . |
strip.names |
See strip.default . |
style |
See strip.default . |
bg |
See strip.default . |
fg |
See strip.default . |
par.strip.text |
See strip.default . |
Does the same as strip.default
with the exception that by
default when a shingle is used as the conditioning variable, the strip
at the top of the panel will inclued the name of the conditioning
variable and the range of the shingle for that plot.
This function is only usefull for its side effects.
Greg Snow greg.snow@ihc.com
library(lattice) Depth <- equal.count(quakes$depth, number=8, overlap=.1) xyplot(lat ~ long | Depth, data = quakes, strip=strip.shingle)