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


drknexus/repsych documentation built on May 15, 2019, 2:19 p.m.