tidybayes: 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.

Version: 3.0.2
Depends: R (≥ 3.5.0)
Imports: methods, ggdist (≥ 3.0.0), dplyr (≥ 0.8.0), tidyr (≥ 1.0.0), ggplot2 (≥ 3.3.5), coda, rlang (≥ 0.3.0), arrayhelpers, tidyselect, tibble, magrittr, posterior (≥ 1.0.1), withr, vctrs
Suggests: knitr, testthat, purrr (≥ 0.2.3), forcats, vdiffr (≥ 1.0.0), svglite, rstan (≥ 2.17.0), rstantools (≥ 2.1.0), runjags, rjags, jagsUI, rstanarm (≥ 2.19.2), emmeans, broom (≥ 0.4.3), dotwhisker, MCMCglmm, bayesplot, modelr, brms (≥ 2.16.0), cowplot, covr, gdtools, rmarkdown, ggrepel, bindrcpp, RColorBrewer, gganimate, gifski, png, pkgdown, distributional, transformr
Published: 2022-01-05
Author: Matthew Kay [aut, cre], Timothy Mastny [ctb]
Maintainer: Matthew Kay <mjskay at northwestern.edu>
BugReports: https://github.com/mjskay/tidybayes/issues/new
License: GPL (≥ 3)
URL: https://mjskay.github.io/tidybayes/, https://github.com/mjskay/tidybayes/
NeedsCompilation: no
Language: en-US
Citation: tidybayes citation info
Materials: NEWS
CRAN checks: tidybayes results

Documentation:

Reference manual: tidybayes.pdf
Vignettes: Extracting and visualizing tidy draws from brms models
Using tidybayes with the posterior package
Extracting and visualizing tidy draws from rstanarm models
Extracting and visualizing tidy residuals from Bayesian models
Using tidy data with Bayesian models

Downloads:

Package source: tidybayes_3.0.2.tar.gz
Windows binaries: r-devel: tidybayes_3.0.2.zip, r-release: tidybayes_3.0.2.zip, r-oldrel: tidybayes_3.0.2.zip
macOS binaries: r-release (arm64): tidybayes_3.0.2.tgz, r-oldrel (arm64): tidybayes_3.0.2.tgz, r-release (x86_64): tidybayes_3.0.2.tgz, r-oldrel (x86_64): tidybayes_3.0.2.tgz
Old sources: tidybayes archive

Reverse dependencies:

Reverse imports: fido, INSPECTumours, mcp, ppcseq, rcbayes, surveil, tidytreatment, trialr
Reverse suggests: multiverse

Linking:

Please use the canonical form https://CRAN.R-project.org/package=tidybayes to link to this page.