Apply a function to an mcmc or mcmc.list object, e.g. median
1 |
data |
The object containing the MCMC sample - usually an object of class "mcmc" or "mcmc.list" |
fun |
The function to apply to the MCMC sample, by default median |
... |
Extra parameters to be passed to the function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.