Description Usage Arguments Value Examples

The highest density interval (HDI) for a Beta(a,b) distribution.

1 | ```
hdiBeta(p = 0.95, a, b)
``` |

`p` |
Confidence level for the HDI |

`a` |
is a positive number |

`b` |
is a positive number |

Vector containing the limits of the HDI

1 | ```
hdiBeta(0.9, 2, 2)
``` |

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.