Description Usage Arguments Value
Computes the Highest Posterior Density (HPD) interval from a posterior sample. Works only for scalar marginal posteriors.
1 | hpd(x, prob = 0.95)
|
x |
a univariate or a posterior sample for a scalar parameter. |
prob |
posterior probability content. |
vector of two doubles.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.