trimMean: Compute trimmed mean for a vector

Description Usage Arguments Details Value Note Author(s) References

View source: R/trimMean.R

Description

Computes the trimmed mean for a vector. Note that this implementation follows the Affymetrix code, which gives different results than the standard R function mean().

Usage

1
trimMean(vec, p1, p2)

Arguments

vec

vector of values

p1

lower percentage for trimming

p2

upper percentage for trimming

Details

The details can be found in the given reference.

Value

A numeric value

Note

Based on Affymetrix MAS5 Statistical SDK source code http://www.affymetrix.com/Auth/support/developer/stat_sdk/STAT_SDK_source.zip

Author(s)

Richard Kennedy rkennedy@vcu.edu

References

Affymetrix (2002) Statistical Algorithms Description Document, Affymetrix Inc., Santa Clara, CA, whitepaper. http://www.affymetrix.com/support/technical/whitepapers/sadd_whitepaper.pdf


sscore documentation built on Nov. 8, 2020, 5:28 p.m.