is_outlier returns a logical vector indicating whether a value is an
outlier based on the rule of 1.5 times the interquartile range above the
third quartile or below the first quartile.
Usage
is_outlier(x, na.rm = FALSE)
Value
A logical vector.
Arguments
x
A numerical vector
na.rm
A logical value indicating whether NA values should be
stripped before the computation proceeds. Defaults to FALSE.