remove_outliers_from: Removes the outlier observation from an array
Description
Removes the outlier observation from an array
Usage
remove_outliers_from(var, outlier_definition)
Value
(numeric
) vector without the outlier values
Arguments
- var
(numeric
) a numeric vector
- outlier_definition
(numeric
) if 0
then no outliers are removed, otherwise
outliers (those more than outlier_definition*IQR below/above Q1/Q3
) are removed