computes interquartile range of the x values. Weights are supported.
Arguments
- x
numeric vector
- weights
optional numeric vector giving the sample weights
- na.rm
logical; whether to remove missing values
- type
an integer selecting one of the many quantile algorithms, see
quantileX()
Details
This implementation is based on quantileX() function, which
allows to define weights.
