Learn R Programming

lattice (version 0.7-1)

panel.bwplot: Default Panel Function for bwplot

Description

This is the default panel function for bwplot.

Usage

panel.bwplot(x, y, box.ratio = 1, horizontal, pch, col, cex,
            fill = "transparent", coef = 1.5, ...)

Arguments

x, y
numeric vector or factor. Boxplots drawn for each unique value of y (x) if horizontal is TRUE (FALSE)
box.ratio
ratio of box height to inter box space
horizontal
logical. If FALSE, the plot is `transposed' in the sense that the behaviours of x and y are switched. x is now the `factor'. Interpretation of other arguments change accordingly. See documentation of bwplot for a fuller expla
pch, col, cex
graphical parameters controlling the dot
fill
color to fill the boxplot
coef
passed to boxplot.stats
...
graphical parameters can be supplied

synopsis

panel.bwplot(x, y, box.ratio=1, horizontal = TRUE, pch=box.dot$pch, col=box.dot$col, cex = box.dot$cex, fill = box.rectangle$fill, levels.fos = NULL, coef = 1.5, ...)

Details

Creates Box and Whisker plot of x for every level of y. The actual boxplot statistics are calculated using boxplot.stats

See Also

bwplot, boxplot.stats