stat_adj_boxplot {litteR} | R 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()
[Package litteR version 1.0.0 Index]