Compute Highest Posterior Density intervals.
Compute Highest Posterior Density intervals.
.hdi(samps, prob, add_zero = FALSE)
samps |
MCMC sample matrix. |
prob |
Numeric in (0,1). |
add_zero |
Logical (Default: FALSE) - Whether to add zero to samples. Useful for unidirectional effects. |
Matrix of HDIs.
Stephen Martin
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.