Package: brmsmargins 0.3.0
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:
brmsmargins_0.3.0.tar.gz
brmsmargins_0.3.0.zip(r-4.7)brmsmargins_0.3.0.zip(r-4.6)brmsmargins_0.3.0.zip(r-4.5)
brmsmargins_0.3.0.tgz(r-4.6-x86_64)brmsmargins_0.3.0.tgz(r-4.6-arm64)brmsmargins_0.3.0.tgz(r-4.5-x86_64)brmsmargins_0.3.0.tgz(r-4.5-arm64)
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://jwiley.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jwiley/brmsmargins/issues
Pkgdown/docs site:https://joshuawiley.com
Last updated from:72157f638c. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 251 | ||
| linux-devel-x86_64 | OK | 231 | ||
| source / vignettes | OK | 295 | ||
| linux-release-arm64 | OK | 217 | ||
| linux-release-x86_64 | OK | 215 | ||
| macos-release-arm64 | OK | 191 | ||
| macos-release-x86_64 | OK | 311 | ||
| macos-oldrel-arm64 | OK | 178 | ||
| macos-oldrel-x86_64 | OK | 272 | ||
| windows-devel | OK | 230 | ||
| windows-release | OK | 240 | ||
| windows-oldrel | OK | 226 | ||
| wasm-release | OK | 185 |
Exports:brmsmarginsbsummaryintegratemvnintegratemvtintegraterelmcppmarginalcoefpredictionrowBootMeanstab2mat
Dependencies:abindbackportsbayesplotbayestestRBHbridgesamplingbrmsBrobdingnagcallrcheckmateclicodacodetoolscpp11data.tabledatawizarddescdigestdistributionaldplyrextraoperatorsfarverfuturefuture.applygenericsggplot2ggridgesglobalsgluegridExtragtableinlineinsightisobandlabelinglatticelifecyclelistenvloomagrittrMatrixmatrixStatsmgcvmvtnormnleqslvnlmenumDerivparallellypillarpkgbuildpkgconfigplyrposteriorprocessxpspurrrQuickJSRR6RColorBrewerRcppRcppArmadilloRcppEigenRcppParallelreshape2rlangrstanrstantoolsS7scalesStanHeadersstringistringrtensorAtibbletidyrtidyselectutf8vctrsviridisLitewithr
Marginal Effects for Fixed Effects Models
Rendered fromfixed-effects-marginaleffects.Rmdusingknitr::rmarkdownon May 19 2026.Last update: 2026-04-03
Started: 2021-11-26
Marginal Effects for Location Scale Models
Rendered fromlocation-scale-marginaleffects.Rmdusingknitr::rmarkdownon May 19 2026.Last update: 2026-04-03
Started: 2021-11-28
Marginal Effects for Mixed Effects Models
Rendered frommixed-effects-marginaleffects.Rmdusingknitr::rmarkdownon May 19 2026.Last update: 2026-04-03
Started: 2021-11-26
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Calculate Marginal Effects from 'brms' Models | brmsmargins |
| Personal Preference Based Bayesian Summary | bsummary |
| Integrate over Multivariate Normal Random Effects | integratemvn integratemvnR |
| Integrate over Multivariate Student-t Random Effects | integratemvt integratemvtR |
| Integrate over Random Effects | integratere integratereR |
| Fast Linear Regression | lmcpp |
| Marginal Coefficients from a 'brms' Model | marginalcoef |
| Marginal Posterior Predictions from a 'brms' Model | prediction |
| Bootstrap Row Means | rowBootMeans |
| Convert a Row of a Table to a Square Matrix | tab2mat tab2matR |
