View source: R/remove_outliers.R
remove.outliers | R Documentation |
Sets to NA the values greater/smaller than n.sd standard deviation from the values' mean.
remove.outliers(v, n.sd = 3)
v |
vector of values |
n.sd |
number of standard deviation (default: 3) |
a vector having outliers set to NA
Alessia Visconti
x <- rexp(100)
remove.outliers(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.