IQrange(rivers)
## identical to
IQR(rivers)
## other quantile algorithms
IQrange(rivers, type = 4)
IQrange(rivers, type = 5)
## standardized IQR
sIQR(rivers)
## right-skewed data distribution
sd(rivers)
mad(rivers)
## for normal data
x <- rnorm(100)
sd(x)
sIQR(x)
mad(x)
Run the code above in your browser using DataLab