outlierTrim: Replace outliers with NA.

Usage Arguments Details Value Author(s)

View source: R/outliers.R

Usage

1
outlierTrim(x, cut = 2.5)

Arguments

x

A numerical vector.

cut

The cutpoint in sd units; defaults to 2.5.

Details

Given a numerical vector, replace values of cut or more standard deviations from the mean with NAs.

Value

A numerical vector, a copy of x with outliers replace by NAs.

Author(s)

David Braze [email protected]


davebraze/FDB1 documentation built on May 12, 2017, 6:56 p.m.