View source: R/weighted_quantile.R
| weighted_quantile | R Documentation |
quantile when the values are weighted
weighted_quantile(v, w = NULL, p = (0:4)/4, v_is_sorted = FALSE)
v |
A vector from which sample quantiles are desired. |
w |
Weights corresponding to each |
p |
Numeric vector of probabilities. Missing values or values outside
|
v_is_sorted |
(logical, default: |
A vector the same length as p, the quantiles corresponding
to each element of p.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.