weighted.quantile: Weighted quantiles
Description
Weighted quantiles
Usage
weighted.quantile(x, w, probs = seq(0, 1, 0.25), na.rm = TRUE)
Arguments
- x
a vector of observations
- w
a vector of weights
- probs
the given probabilities for which we want to get quantiles
- na.rm
should we remove missing values.