Package: brmsmargins 0.3.0

Joshua F. Wiley

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>).

Authors:Joshua F. Wiley [aut, cre], Donald Hedeker [aut]

brmsmargins_0.3.0.tar.gz
brmsmargins_0.3.0.tar.gz(r-4.7-arm64)brmsmargins_0.3.0.tar.gz(r-4.7-x86_64)brmsmargins_0.3.0.tar.gz(r-4.6-arm64)brmsmargins_0.3.0.tar.gz(r-4.6-x86_64)
brmsmargins_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
brmsmargins/json (API)
NEWS

# Install 'brmsmargins' in R:
install.packages('brmsmargins', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jwiley/brmsmargins/issues

Pkgdown/docs site:https://joshuawiley.com

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

openblascppopenmp

4.87 score 46 scripts 5.3k downloads 10 exports 80 dependencies

Last updated from:4ca4fbb3a3. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK206
linux-devel-x86_64OK230
source / vignettesOK296
linux-release-arm64OK220
linux-release-x86_64OK213
wasm-releaseOK181

Exports:brmsmarginsbsummaryintegratemvnintegratemvtintegraterelmcppmarginalcoefpredictionrowBootMeanstab2mat

Dependencies:abindbackportsbayesplotbayestestRBHbridgesamplingbrmsBrobdingnagcallrcheckmateclicodacodetoolscpp11data.tabledatawizarddescdigestdistributionaldplyrextraoperatorsfarverfuturefuture.applygenericsggplot2ggridgesglobalsgluegridExtragtableinlineinsightisobandlabelinglatticelifecyclelistenvloomagrittrMatrixmatrixStatsmgcvmvtnormnleqslvnlmenumDerivparallellypillarpkgbuildpkgconfigplyrposteriorprocessxpspurrrQuickJSRR6RColorBrewerRcppRcppArmadilloRcppEigenRcppParallelreshape2rlangrstanrstantoolsS7scalesStanHeadersstringistringrtensorAtibbletidyrtidyselectutf8vctrsviridisLitewithr

Marginal Effects for Fixed Effects Models

Rendered fromfixed-effects-marginaleffects.Rmdusingknitr::rmarkdownon Jun 05 2026.

Last update: 2026-04-06
Started: 2021-12-16

Marginal Effects for Location Scale Models

Rendered fromlocation-scale-marginaleffects.Rmdusingknitr::rmarkdownon Jun 05 2026.

Last update: 2026-04-06
Started: 2021-12-16

Marginal Effects for Mixed Effects Models

Rendered frommixed-effects-marginaleffects.Rmdusingknitr::rmarkdownon Jun 05 2026.

Last update: 2026-04-06
Started: 2021-12-16