MCMCvis-package | R Documentation |
'MCMCvis' is an R package used to visualize, manipulate, and summarize MCMC output. MCMC output may be derived from Bayesian model output fit with JAGS, Stan, or other MCMC samplers.
The following functions are currently available:
-MCMCsummary
- summarize MCMC output for particular parameters of interest
-MCMCpstr
- summarize MCMC output for particular parameters of interest while preserving original parameter structure
-MCMCtrace
- create trace and density plots of MCMC chains for particular parameters of interest
-MCMCchains
- easily extract posterior chains from MCMC output for particular parameters of interest
-MCMCplot
- create caterpillar plots from MCMC output for particular parameters of interest)
-MCMCdiag
- create a .txt file and save specified objects that summarize model inputs, outputs, and diagnostics
Example data can be loaded using data(MCMC_data)
.
‘MCMCvis' was designed to perform key functions for MCMC analysis using minimal code, in order to free up time/brainpower for interpretation of analysis results. Functions support simple and straightforward subsetting of model parameters within the calls, and produce presentable, ’publication-ready' output.
The vignette can be run using vignette('MCMCvis')
if vignette is built when installing package.
Casey Youngflesh <caseyyoungflesh@gmail.com> Christian Che-Castaldo <chrischecastaldo@protonmail.com>
Maintainer: Casey Youngflesh caseyyoungflesh@gmail.com (ORCID)
Authors:
Christian Che-Castaldo christian.che-castaldo@stonybrook.edu (ORCID)
Other contributors:
Tyler Hardy [contributor]
Useful links:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.