Description Usage Arguments Author(s)
Trim values Usage trimval(x, tr=.2, na.rm=TRUE)
1 |
x |
A numeric vector to be trimmed |
tr |
The proportion of values in x to be trimmed |
na.rm |
A logical indicating whether missing values should be removed prior to trimming |
borrowed from Ryne Sherman on 2012/09/06. Modified to return NA for removed values by Russell S. Pierce
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.