Weighted Interquartile range
Compute weighted Interquartile range (iqr)
wtd.iqr (x, na.rm = FALSE, weight=FALSE)
x |
Vector of data, same length as |
na.rm |
Logical: Should NAs be stripped before computation proceeds? |
weight |
Vector of weights |
Uses a simple algorithm based on sorting.
Returns an empirical interquartile range from a weighted sample.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.