data
argument is a bigdata bdFrame (see the DETAILS).
bwplot(formula, box.ratio = 1, ... )The following arguments have special meaning within this function. The common meanings for these and all other arguments are listed separately under
trellis.args
.
y ~ x | g1 * g2 * ...
however the given variables
g1
,
g2
,
...
may be omitted.
y
in
formula
will be coerced into a factor or shingle.
x
must be numeric.
trellis
,
which is automatically plotted by
print.trellis
.
If the
data
argument is a bdFrame then a modified
box and whiskers plot is created.
This plot does not show the outliers and the whiskers extend from the
quartiles to the extrema.
bwplot(which ~ data, data=make.groups(lottery.payoff, lottery2.payoff, lottery3.payoff)) bwplot(voice.part ~ height, data=singer, xlab="Height (inches)") bwplot(voice.part ~ height, data=singer, prepanel=function(x,y) list(xlim=range(x,c(58,74))), panel=function(...) { panel.bwplot(...) panel.abline(v=c(60,72)) # reference line 5 and 6 feet } ) bwplot(voice.part ~ height, data=singer, xlim = range(singer$height,c(58,74)), # ensure ref line not at edge panel = function(...) { panel.bwplot(...) panel.abline(v=c(60,72)) # reference line at 5 and 6 feet })