mcmc.summary | R Documentation |
Auxilary function for summarizing MCMC output and illustrating the posterior distributions.
mcmc.summary(data, probs = c(0.025, 0.5, 0.975), mean = FALSE)
data |
Matrix of size p x Nmc where p denotes the number of parameters and Nmc the number of MCMC samples. |
probs |
Vector of quantiles that should be computed for each parameter. |
mean |
logical; if 'TRUE' the mean of the posterior distributions is computed as well. |
Matrix with quantiles and the mean of the posterior distributions.
Fabio Sigrist
data("spateMCMC")
mcmc.summary(spateMCMC$Post,mean=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.