outlierTrim: Replace outliers with NA.

Usage Arguments Details Value Author(s)

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 davebraze@gmail.com


davebraze/FDB1 documentation built on May 14, 2019, 8:59 p.m.