powered by
IQR to detect univariate outliers
outliersUV(x, fence = 1.5)
A logical vector (TRUE for an outlier)
Numeric vector
IQR multiplier (defaults to 1.5)
IQR
# Use outliersUV() to detect univariate outliers in an anthropometric # dataset from a SMART survey from Angola (rl.ex01) svy <- rl.ex01 svy[outliersUV(svy$muac), ]
Run the code above in your browser using DataLab