bwplot

0th

Percentile

Box and Whisker Plots

Draw Box and Whisker Plots

Keywords
hplot
Usage
bwplot(formula, box.ratio = 1, ...)
Arguments
formula
a formula describing the form of conditioning plot. A formula of the form y ~ x | g1 * g2 * ... indicates that plots of y versus x should be produced conditional on the variables g1,g2,....
box.ratio
gives the ratio of the width of the rectangles to the inter rectangle space.
...
other arguments
Details

see the documentation for trellis.args. Behaviour when trying to modify the y-axis via scales$y is not defined. (It might give what you want, but again, it might not.) The default value of ylim is an interval containing c(1,number of levels of y), with the extra amount calculated based on box.ratio (not 7%, the usual default) .

Value

  • An object of class ``trellis'', plotted by default by print.trellis.

synopsis

bwplot(formula, data = parent.frame(), aspect = "fill", layout = NULL, panel = panel.bwplot, prepanel = NULL, scales = list(), strip = TRUE, groups = NULL, xlab, xlim, ylab, ylim, box.ratio = 1, ..., subscripts = !missing(groups), subset = TRUE)

See Also

trellis.args, panel.bwplot,Lattice

Aliases
  • bwplot
Examples
data(singer)
bwplot(voice.part ~ height, data=singer, xlab="Height (inches)")
Documentation reproduced from package lattice, version 0.3-1, License: GPL version 2 or later

Community examples

Looks like there are no examples yet.