trimMean {sscore}R Documentation

Compute trimmed mean for a vector

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

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


[Package sscore version 1.16.0 Index]