Detect outliers in the given vector

outliers_detect(s, method = "zscore")

Arguments

s

vector that contains the data to detect outliers in

method

method to detect outliers. One of 'zscore', 'iqr', 'iforest'

Value

boolean vecotr with indices makerd true for the outliers

Examples

outliers_detect(c(1,2,1,2,100))
#> [1] FALSE FALSE FALSE FALSE FALSE