Quick function to estimate weighted quantiles
wtd.quantile(x, weights = NULL, probs = NULL)
x
a numeric vector
weights
a numeric vector for the weights
probs
probabilities
weighted quantile