Learn R Programming

litteR (version 1.0.0)

adj_boxplot_stats: 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, ...)

# S3 method for default adj_boxplot_stats(x, ...)

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.

Arguments

x

numeric vector

...

further arguments passed to or from other methods.

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 tools:::Rd_expr_doi("10.1016/j.csda.2007.11.008")

See Also

stat_adj_boxplot

Examples

Run this code
adj_boxplot_stats(rlnorm(100))

Run the code above in your browser using DataLab