iqrOutlier

0th

Percentile

Identify outliers according to the IQR criterion

The IQR criterion holds that any value lower than one-and-a-half times the interquartile range below the first quartile, or higher than one-and-a-half times the interquartile range above the third quartile, is an outlier. This function returns a logical vector that identifies those outliers.

Keywords
univariate
Usage
iqrOutlier(x)
Arguments
x
The vector to scan for outliers.
Value

A logical vector where TRUE identifies outliers.

IQR

• iqrOutlier
Examples
### One outlier in the miles per gallon
iqrOutlier(mtcars\$mpg);

Documentation reproduced from package userfriendlyscience, version 0.5-2, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.