Internal function for finding highest probability density intervals from a vector of simulations

1 | ```
HPD(x, probs, side)
``` |

`x` |
vector of simulation values |

`probs` |
numeric specifying the probability interval |

`side` |
character either 'upper' or 'lower' specifying which side of the interval to return. |

christophergandrud/simGLM documentation built on May 13, 2019, 7:03 p.m.

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.