Description Usage Arguments Value References Examples
Summarize Bayesian MCMC Output
R function for summarizing MCMC output in a regression-style table.
1 2 3 4 5 6 7 8 |
sims |
Bayesian model object generated by R2jags, rjags, R2WinBUGS, R2OpenBUGS, MCMCpack, rstan, and rstanarm. |
ci |
desired level for credible intervals; defaults to c(0.025, 0.975). |
pars |
character vector of parameters to be printed; defaults to |
Pr |
print percent of posterior draws with same sign as median; defaults to |
ROPE |
defaults to |
regex |
use regular expression matching with |
a data frame containing MCMC summary statistics.
Kruschke, John K. 2013. “Bayesian Estimation Supersedes the T-Test.” Journal of Experimental Psychology: General 142 (2): 573–603. https://doi.org/10.1037/a0029146.
1 2 3 4 5 6 7 8 9 10 11 | if (interactive()) {
data("jags_logit")
## printing out table
object <- mcmcTab(jags_logit,
ci = c(0.025, 0.975),
pars = NULL,
Pr = FALSE,
ROPE = NULL)
object
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.