Extract quantiles from a (normalised) probability distribution
1 | get_quantiles(x, values, n_quantiles)
|
x |
Vector of (normalised) probabilities |
values |
Vector of corresponding values |
n_quantiles |
Number of quantiles |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.