pctile: Weighted quantile of type 2 (similar to Stata _pctile)

Description Usage Arguments

Description

Weighted quantile of type 2 (similar to Stata _pctile)

Usage

1
pctile(x, probs = c(0.25, 0.5, 0.75), w = NULL, na.rm = FALSE)

Arguments

x

A vector

probs

A vector of probabilities

w

A weight vector

na.rm

Should missing values be returned?



Search within the statar package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.