detectOutliers: detectOutliers

Description Usage Arguments Value Examples

View source: R/detectOutliers.R

Description

detectOutliers return values of x that are outliers.

Usage

1
detectOutliers(x, method = "SD", SDs = 3.5)

Arguments

x

vector of values

method

how to detect outliers: 'SD', 'Chi', 'Dixon', 'Grubbs', 'Biggest'

SDs

if method='SD', then how many standard deviations from the mean will be considered an outlier boundary

Value

A vector of outliers from x

Examples

1
2
#fakeData <- data.frame(x = rnorm(4, 4, 20))
#detectOutliers(x = fakeData$x)

TaylorAndrew/atExplore documentation built on May 10, 2017, 4:39 p.m.