trimval: Trim values Usage trimval(x, tr=.2, na.rm=TRUE)

Description Usage Arguments Author(s)

Description

Trim values Usage trimval(x, tr=.2, na.rm=TRUE)

Usage

1
  trimval(x, tr = 0.2, na.rm = TRUE)

Arguments

x

A numeric vector to be trimmed

tr

The proportion of values in x to be trimmed

na.rm

A logical indicating whether missing values should be removed prior to trimming

Author(s)

borrowed from Ryne Sherman on 2012/09/06. Modified to return NA for removed values by Russell S. Pierce


russmisc documentation built on May 2, 2019, 4:44 p.m.