Tidy Data and 'Geoms' for Bayesian Models

Compose data for and extract, manipulate, and visualize posterior draws from Bayesian models ('JAGS', 'Stan', 'rstanarm', 'brms', 'MCMCglmm', 'coda', ...) in a tidy data format. Functions are provided to help extract tidy data frames of draws from Bayesian models and that generate point summaries and intervals in a tidy format. In addition, 'ggplot2' 'geoms' and 'stats' are provided for common visualization primitives like points with multiple uncertainty intervals, eye plots (intervals plus densities), and fit curves with multiple, arbitrary uncertainty bands.


News

tidybayes 1.0.3

  • Added gather_pairs method for creating custom scatterplot matrices (and more!)
  • Ordinal models in brms now use original category labels (#122)
  • NA values are now better supported in point_interval, and it has an na.rm argument (#123)
  • Added sampler diagnostics to tidy_draws() stan output (#109)
  • Added MCMCglmm+emmeans example to vignettes
  • Add guards to prevent usage of packages listed in Suggests

tidybayes 1.0.0

Major changes:

  • First CRAN release.
  • Various function, argument, and column name changes towards unification with the Stan ecosystem. See help("tidybayes-deprecated") for more information.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.