Learn R Programming

bpcs (version 1.0.0)

HPDI_from_stanfit: Calculate HPDI for all parameters from a stanfit object Here we use the coda package

Description

Calculate HPDI for all parameters from a stanfit object Here we use the coda package

Usage

HPDI_from_stanfit(stanfit)

Arguments

stanfit

a stanfit object retrived from a bpc object

Value

a data frame with the HPDI calculated from the coda package

References

Martyn Plummer, Nicky Best, Kate Cowles and Karen Vines (2006). CODA: Convergence Diagnosis and Output Analysis for MCMC, R News, vol 6, 7-11