View source: R/shared_functions.R
mcmc_hdi | R Documentation |
A function for calculating the HDI (highest density interval) of a vector of values.
mcmc_hdi(samples, cred_mass = 0.95)
samples |
vector of values. |
cred_mass |
credibility mass that the interval should include (default = 0.95). |
Boundaries of the HDI.
John Kruschke
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.