Description Usage Arguments Details Value Examples
View source: R/locationEstimators.R
trim_mean
calculates a trimmed mean of a sample.
1 |
x |
a (non-empty) numeric vector of data values. |
gamma |
a numeric value in [0, 0.5] specifying the fraction of observations to be trimmed from each end of the sample before calculating the mean. The default value is 0.2. |
na.rm |
a logical value indicating whether NA values in |
This is a wrapper function for the function mean
.
The trimmed mean.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.