outliers: The IQR method of identifying outliers.

View source: R/utils.R

outliersR Documentation

The IQR method of identifying outliers.

Description

The IQR method of identifying outliers.

Usage

outliers(x, times = 1.5)

Arguments

x

A numeric vector.

times

A constant used to discern bound.

Value

A list of the upper bound, the upper outliers index, the lower bound and the lower outliers index.

Examples

x <- rep(seq(0.91, 1, 0.01), 2^(1:10))
boxplot(x)
outliers(x)

zh542370159/dropSplit documentation built on June 19, 2022, 2:49 p.m.