Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/spBwplotStats.R
Compute the statistics necessary for producing boxandwhisker plots of continuous or semicontinuous variables, taking into account sample weights.
1 2 
x 
a numeric vector. 
weights 
an optional numeric vector containing sample weights. 
coef 
a numeric value that determines the extension of the whiskers. 
zeros 
a logical indicating whether the variable specified by

do.out 
a logical indicating whether data points that lie beyond the extremes of the whiskers should be returned. 
The function quantileWt
is used for the computation of
(weighted) quantiles. The median is computed together with the first and
the third quartile, which form the box. If range
is positive, the
whiskers extend to the most extreme data points that have a distance to the
box of no more than coef
times the interquartile range. For
coef = 0
, the whiskers mark the minimum and the maximum of the
sample, whereas a negative value causes an error.
A list of class "spBwplotStats"
with the following
components:
stats 
A vector of length 5 containing the (weighted) statistics for the construction of a box plot. 
n 
if 
nzero 
if 
out 
if 
Stefan Kraft and Andreas Alfons
spBwplot
, for producing (weighted) box plots of
continuous or semicontinuous variables.
quantileWt
for the computation of (weighted) sample quantiles.
boxplot.stats
for the unweighted statistics for box
plots (not considering semicontinuous variables).
1 2 3 4 5 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs in the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.