CRAN/E | tidybayes

tidybayes

Tidy Data and 'Geoms' for Bayesian Models

Installation

About

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.

Citation tidybayes citation info
mjskay.github.io/tidybayes/
github.com/mjskay/tidybayes/
Bug report File report

Key Metrics

Version 3.0.6
R ≥ 3.5.0
Published 2023-08-12 252 days ago
Needs compilation? no
License GPL (≥ 3)
CRAN checks tidybayes results
Language en-US

Downloads

Yesterday 381
Last 7 days 1.467 -42%
Last 30 days 7.842 +59%
Last 90 days 16.708 +35%
Last 365 days 57.038 +15%

Maintainer

Maintainer

Matthew Kay

mjskay@northwestern.edu

Authors

Matthew Kay

aut / cre

Timothy Mastny

ctb

Material

NEWS
Reference manual
Package source

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

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

tidybayes archive

Depends

R ≥ 3.5.0

Imports

methods
ggdist ≥ 3.0.0
dplyr ≥ 1.1.0
tidyr ≥1.0.0
ggplot2 ≥ 3.3.5
coda
rlang ≥ 0.3.0
arrayhelpers
tidyselect
tibble
magrittr
posterior ≥1.0.1
withr
cli
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
rmarkdown
ggrepel
bindrcpp
RColorBrewer
gganimate
gifski
png
pkgdown
distributional
transformr

Reverse Imports

bennu
fido
INSPECTumours
mcmsupply
mcp
ppcseq
rcbayes
reslr
surveil
tidytreatment
trialr

Reverse Suggests

multiverse