View source: R/beta-binom-analytic.R
| hdi_of_icdf | R Documentation |
Computes an HDI of given mass from any distribution for which you have a quantile function (inverse CDF).
hdi_of_icdf(qfun, width = 0.95, tol = 1e-08, ...)
qfun |
Quantile function, e.g., |
width |
Desired HDI mass (e.g., 0.95). |
tol |
Optimizer tolerance. |
... |
Additional arguments passed to |
Named numeric vector with elements ll and ul.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.