Learn R Programming

sasLM (version 0.5.0)

trimmedMean: Trimmed Mean

Description

Trimmed mean wrapping mean function .

Usage

trimmedMean(x, Trim=0.05)

Arguments

x

a vector of numerics

Trim

trimming proportion. Default is 0.05

Value

The value of trimmed mean

Details

It removes NA in the input vector.