Tools for Working with Posterior Distributions

Provides useful tools for both users and developers of packages for fitting Bayesian models or working with output from Bayesian models. The primary goals of the package are to: (a) Efficiently convert between many different useful formats of draws (samples) from posterior or prior distributions. (b) Provide consistent methods for operations commonly performed on draws, for example, subsetting, binding, or mutating draws. (c) Provide various summaries of draws in convenient formats. (d) Provide lightweight implementations of state of the art posterior inference diagnostics. References: Vehtari et al. (2021) .


Reference manual

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


1.1.0 by Paul-Christian Bürkner, 2 months ago,

Report a bug at

Browse source code at

Authors: Paul-Christian Bürkner [aut, cre] , Jonah Gabry [aut] , Matthew Kay [aut] , Aki Vehtari [aut] , Måns Magnusson [ctb] , Rok Češnovar [ctb] , Ben Lambert [ctb] , Ozan Adıgüzel [ctb] , Jacob Socolar [ctb]

Documentation:   PDF Manual  

BSD_3_clause + file LICENSE license

Imports abind, checkmate, rlang, stats, tibble, vctrs, tensorA, pillar, distributional, parallel, matrixStats

Suggests testthat, caret, gbm, randomForest, e1071, dplyr, tidyr, knitr, rmarkdown

Imported by brms, tidybayes.

Suggested by bssm, ggdist, mcmcsae.

See at CRAN