Learn R Programming

litteR (version 1.0.0)

stat_adj_boxplot: Adjusted Boxplot Statistics for ggplot2

Description

Computes adjusted boxplot statistics to be used by ggplot2. See Hubert & Vandervieren (2008, p.5191, Eq.5).

Usage

stat_adj_boxplot()

stat_adj_boxplot_outlier()

Arguments

Functions

  • stat_adj_boxplot_outlier(): add outliers to adjusted boxplot

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

adj_boxplot_stats, stat_adj_boxplot_outlier

Examples

Run this code
library(ggplot2)

d <- data.frame(x = gl(2, 50), y = rnorm(100))
ggplot(data = d, mapping = aes(x = x, y = y)) +
   stat_adj_boxplot()

Run the code above in your browser using DataLab