Description Usage Arguments Details Value
Get HPD of a posterior sample
1 | getHPD.boa(data, alpha = 0.05, includeMedian = TRUE)
|
data |
The samples from the posterior. |
alpha |
The confidence level. |
includleMedian |
If FALSE only return the HPD limits, and not the median as well. |
Uses Chen and Shao algorithm as implemented in boa package.
c(lower, median, upper)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.