RobRange(x, trim = 0.2, fac = 3, na.rm = FALSE)
fac
. The robust minimum is then defined as m-fac*s or min(x),
whichever is larger, and similarly for the maximum.RobScale
x <- c(rnorm(20), rnorm(3, 5, 20))
RobRange(x)
# compared to:
range(x)
Run the code above in your browser using DataLab