powered by
Calculates the Inter-quartile range (IQR) from a vector of observed values.
iqr(o)
A numeric vector. Observed values.
Inter-quartile range (IQR).
The inter-quartile range (IQR) is the difference between the 75-percentile and the 25-percentile of the observed values.
# NOT RUN { obs<-c(1:10) iqr(o=obs) # }
Run the code above in your browser using DataLab