stat_adj_boxplot: Adjusted Boxplot Statistics for ggplot2

View source: R/stats.R

stat_adj_boxplotR Documentation

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()

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 doi: 10.1016/j.csda.2007.11.008

See Also

adj_boxplot_stats, stat_adj_boxplot_outlier

Examples

library(ggplot2)

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


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