pctile | R Documentation |
Weighted quantile of type 2 (similar to Stata _pctile)
pctile(x, probs = c(0.25, 0.5, 0.75), wt = NULL, na.rm = FALSE)
x |
A vector |
probs |
A vector of probabilities |
wt |
A weight vector |
na.rm |
Should missing values be returned? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.