HPDI | R Documentation |
This is a simple helper function to get density intervals. See McElreath's Rethinking for details/
HPDI(samples, prob = 0.89)
samples |
A vector of samples to summarize. |
prob |
Interval range. |
A vector of intervals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.