winvar: Calculate the winsorized variance of x Usage winvar(x, tr=.2,...

Description Usage Arguments Author(s)

Description

Calculate the winsorized variance of x Usage winvar(x, tr=.2, na.rm=TRUE) This function is borrowed directly from Rand Wilcox's function and is kept with this set of functions for capability with a large number of functions.

Usage

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

Arguments

x

A numeric vector of which to get the winsorized variance

tr

The proportion of scores to winsorize

na.rm

A logical indicating whether missing values should be removed prior to calculation.

Author(s)

Rand Wilcox, borrowed from Ryne Sherman on 2012/09/06


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