detect_outliers | R Documentation |
detect_outliers
computes IQR and finds outliers. It gives the same results as geom_boxplot
and thus differs slightly from boxplot.stats
.
detect_outliers(x, coef = 1.5)
x |
numeric vector. |
coef |
coefficient for boxplot.stats, defaults to 1.5. |
A list with elements positions and outliers as numeric vectors.
detect_outliers(rnorm(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.