powered by
Calculates the highest density interval
HDI(x, prob = 0.95)
Vector of data
Value for probability mass of HDI; default=95%
Returns matrix of the mean and upper and lower bounds of the HDI