adj_boxplot_stats: Adjusted Boxplot Statistics

View source: R/stats.R

adj_boxplot_statsR Documentation

Adjusted Boxplot Statistics

Description

Adjusted boxplot statistics according to Hubert & Vandervieren (2008). The upper whisker extends from the hinge to the largest value no further than the upper fence. Similarly, the lower whisker extends from the hinge to the smallest value no further than the lower fence. See Hubert & Vandervieren (2008, p.5191, Eq.5).

Usage

adj_boxplot_stats(x, ...)

## Default S3 method:
adj_boxplot_stats(x, ...)

Arguments

x

numeric vector

...

further arguments passed to or from other methods.

Value

Numeric vector consisting of respectively the lower whisker/fence, the first quartile/hinge, the median, the third quartile/hinge, and the upper whisker/fence.

Methods (by class)

  • adj_boxplot_stats(default): Adjusted Boxplot Statistics

References

Hubert, M., and E. Vandervieren, 2008. An adjusted boxplot for skewed distributions. Computational Statistics and Data Analysis 52:5186-5201 doi: 10.1016/j.csda.2007.11.008

See Also

stat_adj_boxplot

Examples

adj_boxplot_stats(rlnorm(100))

litteR documentation built on Aug. 27, 2022, 1:05 a.m.