Description Usage Arguments Value Author(s)
Computes weighted quantile
1 | weighted.quantile(x, w=rep(1/length(x), times=length(x)), probs=0.5)
|
x |
Data (numeric vector of length N) |
w |
Weights (numeric vector of length N, entries non-negative) |
probs |
Which quantile(-s) shall be computed (numeric vector, entries within (0, 1)) |
q |
Weighted sample quantile(-s) |
Lisa Allmesberger Fabian Bergs Stefan Immler Michael Kässmann
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.