detect_outliers {wrappedtools}R Documentation

Find outliers based on IQR

Description

[Experimental]

detect_outliers computes IQR and finds outliers. It gives the same results as geom_boxplot and thus differs slightly from boxplot.stats.

Usage

detect_outliers(x, coef = 1.5)

Arguments

x

numeric vector.

coef

coefficient for boxplot.stats, defaults to 1.5.

Value

A list with elements positions and outliers as numeric vectors.

Examples

detect_outliers(rnorm(100))

[Package wrappedtools version 0.9.5 Index]