This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/boxplot.stats.html
boxplot.stats {base}R Documentation

Box Plot Statistics

Usage

boxplot.stats(x, coef = 1.5)

Arguments

x

a numeric vector for which the boxplot will be constructed (NAs are allowed).

coef

this determines how far the plot “whiskers” extend out from the box. If coef is positive, the whiskers extend to the most extreme data point which is no more than coef times the interquartile coef from the box. A value of zero causes the whiskers to extend to the data extremes.

Value

This function is typically is called by boxplot to gather the statistics necessary for producing box plots, but may be invoked separately. The value it returns is a list with named components as follows:

stats

a vector containing the extreme of the lower whisker, the lower “hinge”, the median, the upper “hinge” and the extreme of the upper whisker.

n

the number of observations in the sample.

conf

the lower and upper extremes of the “notch”.

out

the values of any data points which lie beyond the extremes of the whiskers.

See Also

boxplot, bxp.

Examples

boxplot.stats(1:100)
boxplot.stats(1:100, coef = 3)
boxplot.stats(1:100, coef = 0)

[Package base version 0.60 ]