A generic function and a set of methods to calculate highest density intervals for a variety of classes of objects which can specify a probability density distribution, including MCMC output, fitted density objects, and functions.
CHANGES in 0.2.0 (2018-06-09)
CHANGES in 0.1.3 (2016-05-13)
various tweaks to speed up analysis with large objects
added method for mcarray and list (to deal with rjags::jags.samples output); fixed export of hdi.mcmc
CHANGES in 0.1.2 (2016-03-20)
Fixed multiple checks of credMass; hdiVector as separate function from hdi.default
Speeded up check for all-NAs
Fixed hdi.data.frame: now returns NAs for non-numeric columns.
CHANGES in 0.1.1 (2016-02-15)
CHANGES in 0.1.0 (2016-02-14)
CHANGES in 0.0.2 (2016-02-10)
hpdi.density now returns a length-2 vector when allowSplit=FALSE, otherwise a matrix, which may have only one row.
Testthat functions added for hpdi.density