Description Usage Arguments Value
Function to extract highest posterior density intervals. HPDI corresponds to the 'shortest' intervals that contain p fraction of the samples.
1 | HPDI(x, p = 0.95)
|
x |
Samples of one parameter or a CMR_fit. |
p |
probability. Defaults to 0.95. |
returns hpdi and exact probability of the interval, either for the given sample or for each parameter in a CMR_fit.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.