powered by
detect_outliers computes IQR and finds outliers. It gives the same results as geom_boxplot and thus differs slightly from boxplot.stats.
detect_outliers
geom_boxplot
boxplot.stats
detect_outliers(x, coef = 1.5)
A list with elements positions and outliers as numeric vectors.
numeric vector.
coefficient for boxplot.stats, defaults to 1.5.
detect_outliers(rnorm(100))
Run the code above in your browser using DataLab