Description Usage Arguments Examples
Replace outliers of a numeric vector. Another name for this data processing step is "windsorization". This function defines outliers as anything above the 95th percentile, or below the 5th. It will replace values larger or smaller than this with the percentile value.
1 |
x |
Numeric vector to be windsorized. |
1 | replace_outliers(c(rnorm(10,10,1), 2, 15))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.