pctile: Weighted quantile of type 2 (similar to Stata _pctile)
Description
Weighted quantile of type 2 (similar to Stata _pctile)
Usage
pctile(x, probs = c(0.25, 0.5, 0.75), w = NULL, na.rm = FALSE)
Arguments
probs
A vector of probabilities
na.rm
Should missing values be returned?