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

Description Usage Arguments Author(s)

View source: R/SimpleStats.R

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


russmisc documentation built on May 31, 2017, 1:54 a.m.