brmsmargins: Bayesian Marginal Effects for 'brms' Models
Calculate Bayesian marginal effects, average marginal effects, and marginal coefficients (also called population averaged coefficients) for models fit using the 'brms' package including fixed effects, mixed effects, and location scale models. These are based on marginal predictions that integrate out random effects if necessary (see for example <doi:10.1186/s12874-015-0046-6> and <doi:10.1111/biom.12707>).
| Version: | 0.2.1 |
| Depends: | R (≥ 4.0.0) |
| Imports: | methods, stats,data.table (≥ 1.12.0),extraoperators (≥0.1.1),brms,bayestestR,Rcpp,posterior |
| LinkingTo: | RcppArmadillo,Rcpp |
| Suggests: | testthat (≥ 3.0.0),covr,withr,knitr,rmarkdown,margins,betareg |
| Published: | 2025-09-26 |
| DOI: | 10.32614/CRAN.package.brmsmargins |
| Author: | Joshua F. Wiley [aut, cre], Donald Hedeker [aut] |
| Maintainer: | Joshua F. Wiley <jwiley.psych at gmail.com> |
| BugReports: | https://github.com/JWiley/brmsmargins/issues |
| License: | GPL (≥ 3) |
| URL: | https://joshuawiley.com/brmsmargins/,https://github.com/JWiley/brmsmargins |
| NeedsCompilation: | yes |
| Materials: | README,NEWS |
| CRAN checks: | brmsmargins results |
Documentation:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=brmsmarginsto link to this page.