Description Usage Arguments Value
Uses Chen and Shao algorithm as implemented in boa package.
1 | getMatrixHPD(datamat, margin = 2, alpha = 0.05)
|
alpha |
The confidence level. |
data |
The samples from the posterior. Assumes by default that each row represents a posterior sample and each column a parameter (interval). |
3xn matrix where each column is c(lower, median, upper)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.