Travis-CI Build Status codecov CRAN_Status_Badge

An R package providing a library of plotting functions for use after fitting Bayesian models (typically with MCMC). The idea is 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 packages for Bayesian modeling, particularly (but not necessarily) those powered by RStan.

베이지안 모델 (일반적으로 MCMC 포함)을 적용한 후에 사용할 플로팅 함수 라이브러리를 제공하는 R 패키지. 이 아이디어는 사용자에게 편리한 기능을 제공 할뿐만 아니라 베이 즈 모델링을위한 다양한 패키지로 작업하는 개발자가 쉽게 사용할 수있는 일반적인 기능 세트, 특히 RStan에서 제공되는 패키지 (필수는 아님)를 제공합니다.


The plots created by bayesplot are ggplot objects, which means that after a plot is created it can be further customized using the various functions for modifying ggplot objects provided by the ggplot2 package.


  • Install from CRAN:
  • Install latest development version from GitHub (requires devtools package):

If you are not using the RStudio IDE and you get an error related to “pandoc” you will either need to remove the argument


(to avoid building the vignettes) or install pandoc (e.g.,

brew install pandoc

) and probably also pandoc-citeproc (e.g.,

brew install pandoc-citeproc

). If you have the


R package installed then you can check if you have pandoc by running the following in R:


Some quick examples using MCMC draws obtained from the rstanarm and rstan packages.