HDI: Calculate highest density interval

Description Usage Arguments Value

View source: R/supportfunctions.R

Description

Calculates the highest density interval

Usage

1
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


activityGCMM documentation built on June 15, 2021, 1:06 a.m.