Detects outliers in a data.frame/tibble using zscores

outliers_detect_zscore(s, threshold = 3)

Arguments

s

numeric vector for which the outliers need to be found

threshold

zscore threshold used for outliers

Value

boolean vector with indices makerd true for the outliers

Examples

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