check_outlier: Finding the outliers in the dataframe using Tukey's interquartile range rule
Description
Returns a logical vector
Usage
check_outlier(var, coef)
Arguments
var
A numeric vector.
coef
Coefficient for outlier detection using Tukey's method.
With Tukey<U+2019>s method, outliers are below (1st Quartile) or above (3rd
Quartile) coef times the Inter-Quartile Range (IQR).