is.outlier: Are the values of one vector outliers.

Description Usage Arguments Details Value Author(s) Examples

Description

Give TRUE for the values of the vectors that are superior to Median+factor(InterquartileDifference)

Usage

1
is.outlier(x, fac = 3)

Arguments

x

vector in which we search the outliers

fac

Factor multiplicative of the interquartile distance for finding the thresholds of outliers. Default value of 3

Details

The formula used is the following

x>M+(fac\times{IQ})

OR

x>M-(fac\times{IQ})

Where M is the median of x and IQ the interquartile distance.

Value

A logical vectors that is TRUE when the corresponding value of x is considered an outlier.

Author(s)

Bottin, Marius

Examples

1
2
(A<-rnorm(100))
is.outlier(A)

marbotte/ecolUtil documentation built on May 31, 2019, 11:44 p.m.