Description Usage Arguments Value Examples
Kruschke, J. (2014). Doing Bayesian data analysis: A tutorial introduction with R, 2nd Ed. Academic Press.
1 | HDIofGrid(probMassVec, credMass = 0.95)
|
probMassVec |
is a vector of probability masses at each grid point. |
credMass |
is the desired mass of the HDI region. |
value: A list with components: indices is a vector of indices that are in the HDI mass is the total mass of the included indices height is the smallest component probability mass in the HDI
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.