outliers | R Documentation |
Function for detecting outliers based on the boxplot method
outliers(x, threshold = 1.5)
x |
A vector |
threshold |
Threshold (as multiple of the IQR) to consider an observation as outlier |
outliers(iris$Petal.Length)
outliers(airquality$Ozone)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.