getHPD: Get HPD of a posterior sample

Description Usage Arguments Value

Description

Uses Chen and Shao algorithm as implemented in boa package.

Usage

1
getHPD(data, alpha = 0.05)

Arguments

data

The samples from the posterior.

alpha

The confidence level.

Value

c(lower, median, upper)


laduplessis/bdskytools documentation built on May 20, 2019, 7:33 p.m.