powered by
See HDI
HDImin(x, prob = 0.95)
A vector of values from a probability distribution (e.g., posterior probabilities from MCMC sampling).
Scalar between 0 and 1, indicating the mass within the credible interval that is to be estimated.