posterior: 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) <doi:10.1214/20-BA1221>.

Version: 1.6.0
Depends: R (≥ 3.2.0)
Imports: methods, abind, checkmate, rlang (≥ 1.0.6), stats, tibble (≥ 3.1.0), vctrs (≥ 0.5.0), tensorA, pillar, distributional, parallel, matrixStats
Suggests: testthat (≥ 2.1.0), caret (≥ 6.0-84), gbm (≥ 2.1.8), randomForest (≥ 4.6.14), e1071 (≥ 1.7-3), dplyr, tidyr, knitr, ggplot2, ggdist, rmarkdown
Published: 2024-07-03
DOI: 10.32614/CRAN.package.posterior
Author: 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], Noa Kallioinen [ctb]
Maintainer: Paul-Christian Bürkner <paul.buerkner at>
License: BSD_3_clause + file LICENSE
NeedsCompilation: no
Citation: posterior citation info
Materials: README NEWS
CRAN checks: posterior results


Reference manual: posterior.pdf
Vignettes: Pareto-khat diagnostics
The posterior R package
rvar: The Random Variable Datatype


Package source: posterior_1.6.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): posterior_1.6.0.tgz, r-oldrel (arm64): posterior_1.5.0.tgz, r-release (x86_64): posterior_1.6.0.tgz, r-oldrel (x86_64): posterior_1.5.0.tgz
Old sources: posterior archive

Reverse dependencies:

Reverse imports: BASiCS, bayesMeanScale, BayesMultiMode, bayesplot, brms, brms.mmrm, brmsmargins, bssm, bvhar, dapper, DSSP, dynamite, EpiNow2, GUD, hdbayes, historicalborrow, historicalborrowlong, jagstargets, loo, measr, multilevelmediation, mvgam, OncoBayes2, priorsense, psborrow2, reslr, rstanarm, tidybayes, tsnet, voi
Reverse suggests: bayestestR, bennu, broom.mixed, bsitar, chkptstanr, easycensus, ggdist, marginaleffects, mcmcsae, MCMCvis, parameters, projpred, rvec, shinystan, unmconf


Please use the canonical form to link to this page.