Description Usage Arguments Details Value Author(s) Examples
Adjust outliers
1 | adjust_outlier(x, q = 0.05)
|
x |
A numeric vector. |
q |
Percentile to adjust. |
Vaules larger than percentile 1 - q
are adjusted to the 1 - q
percentile and
values smaller than percentile q
are adjusted to the q
percentile
A numeric vector with same length as the original one.
Zuguang Gu <z.gu@dkfz.de>
1 2 3 4 | set.seed(123)
x = rnorm(40)
x[1] = 100
adjust_outlier(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.