Compute weighted quantiles
Value
A vector the same length as probs
with the corresponding weighted
quantiles of x
with weight w
. For integer weights, this is equivalent to
quantile(rep(x, w), probs)
The weighted median of x
with weights w
.
For integer weights, this is equivalent to median(rep(x, w))
See also
Other weighted statistics:
weighted_moments()
,
weighted_tabulate()