Detect Outliers
Arguments
- x
A
numericvector.- method
Currently only
quantileis supported.- direction
upper, (default)lowerorboth.
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