plotting for Bayesian models

The bayesplot package (R) provides a variety of ggplot2-based plotting functions for use after fitting Bayesian models (typically, though not exclusively, via MCMC). The package is designed not only to provide convenient functionality for users, but also a common set of functions that can be easily used by developers working on a variety of R packages for Bayesian modeling, particularly (but not necessarily) packages powered by RStan.


Visit the bayesplot website at for vignettes/tutorials, function documentation, and other information about the package.

Download and Get Started

The bayesplot package, documentation, and examples are available from CRAN.


Source Code and Issue Tracker

The bayesplot package’s source code and issue tracker are hosted by GitHub.


The bayesplot package is open-source licensed under the