Detect Outliers
Arguments
- x
A
numeric
vector.- method
Currently only
quantile
is supported.- direction
upper
, (default)lower
orboth
.
Examples
is_outlier(runif(20))
#> [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
#> [13] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE