Description Usage Arguments Value

Functions for computing limits of HDI's: Computes highest density interval from a sample of representative values, estimated as shortest credible interval.

1 | ```
HDIofMCMC(sampleVec, credMass = 0.95)
``` |

`sampleVec` |
a vector of representative values from a probability distribution. |

`credMass` |
is a scalar between 0 and 1, indicating the mass within the credible interval that is to be estimated. |

a vector containing the limits of the HDI

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.