isOutlier: Test for Outliers

Description Usage Arguments Details Value Functions

View source: R/outlierDetection.R

Description

Identify outliers in numeric vector.

Usage

1
2
3
4
5
isOutlier(x, method = "iqr", na.rm = F, ...)

iqrOutlier(x, val = 3, na.rm = F, ...)

ptileOutlier(x, inner_perc = 0.995, na.rm = F, ...)

Arguments

x

Numeric vector of values

method

String indicating method of outlier detection. Values supported are iqr and ptile.

na.rm

Logical value indicating whether NA values should be removed.

val

Numeric value which is multiplied by IQR to identify outlier boundary.

inner_perc

Numeric value between 0 and 1 indicating inner percentile of data.

Details

Outlier detection methods include inner quartile range test and a simple upper and lower percentile identification.

Value

Logical vector of values

Functions


jh-206/taxr documentation built on May 28, 2019, 12:22 p.m.