powered by
Help function detects the potential outlier with Tukey method where the number is below Q1-1.5*IQR and above Q3+1.5*IQR.
Q1-1.5*IQR
Q3+1.5*IQR
tukey_outlier(x)
A list contains outliers and vector without outliers.
(numeric) numeric input
numeric
x <- c(13.6, 44.4, 45.9, 14.9, 41.9, 53.3, 44.7, 95.2, 44.1, 50.7, 45.2, 60.1, 89.1) tukey_outlier(x)
Run the code above in your browser using DataLab