Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

activityGCMM (version 1.1.1)

HDI: Calculate highest density interval

Description

Calculates the highest density interval

Usage

HDI(x, prob = 0.95)

Arguments

x

Vector of data

prob

Value for probability mass of HDI; default=95%

Value

Returns matrix of the mean and upper and lower bounds of the HDI