Only works for mcmc and mcmc.list objects
1 | getHPDMedian(data, prob = 0.95, ...)
|
data |
The object containing the MCMC sample - usually of class "mcmc" or "mcmc.list" |
prob |
Target probability content for the HPD interval (see ?HPDinterval) |
... |
Extra parameters to be passed to the median function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.