MCMCvis, an R package for visualizing, manipulating, and summarizing MCMC output is now available on CRAN!
It can be installed with:
The vignette (tutorial) can be run with:
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 and ‘publication-ready’ output. Model output can be from JAGS, Stan, or other MCMC samplers. The package deals with different data types behind the scenes so you don’t have to think about it. You can specify which parameters you want to visualize or extract within the functions.
For example, this plot can be made using just one line of code (after loading package/data, of course)!
library('MCMCvis') #load package
data(MCMC_data) #load example data
MCMCplot(MCMC_data, params = 'beta') #create plot