Detects outliers in a data.frame/tibble using inter-quantile ranges

outliers_detect_iqr(s, threshold = 1.5)

Arguments

s

numeric vector for which the outliers need to be found

threshold

iqr factor used for outliers

Value

boolean vector with indices makerd true for the outliers

Examples

outliers_detect_iqr(c(1,1,1,1,1,1,1,1,1,1,1e14))
#> [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE