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 |
| 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 |
| Reference manual: | brmsmargins.html , brmsmargins.pdf |
| Vignettes: |
Marginal Effects for Fixed Effects Models (source) Marginal Effects for Location Scale Models (source) Marginal Effects for Mixed Effects Models (source) |
| Package source: | brmsmargins_0.2.1.tar.gz |
| Windows binaries: | r-devel: brmsmargins_0.2.1.zip, r-release: brmsmargins_0.2.1.zip, r-oldrel: brmsmargins_0.2.1.zip |
| macOS binaries: | r-release (arm64): brmsmargins_0.2.1.tgz, r-oldrel (arm64): brmsmargins_0.2.1.tgz, r-release (x86_64): brmsmargins_0.2.1.tgz, r-oldrel (x86_64): brmsmargins_0.2.1.tgz |
| Old sources: | brmsmargins archive |
| Reverse suggests: | marginaleffects |
Please use the canonical form https://CRAN.R-project.org/package=brmsmargins to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.