powered by
Function for detecting outliers based on the boxplot method
outliers(x, threshold = 1.5)
A vector
Threshold (as multiple of the IQR) to consider an observation as outlier
outliers(iris$Petal.Length) outliers(airquality$Ozone)
Run the code above in your browser using DataLab