| adjust_outlier {cola} | R Documentation |
Adjust outliers
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>
x = rnorm(10) x[1] = 100 adjust_outlier(x)