{
  "_id": "6a5b0f0d9baadeef8ab4abde",
  "Package": "brmsmargins",
  "Title": "Bayesian Marginal Effects for 'brms' Models",
  "Version": "0.3.0",
  "Authors@R": "c(person(given = \"Joshua F.\",\nfamily = \"Wiley\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jwiley.psych@gmail.com\",\ncomment = c(ORCID = \"0000-0002-0271-6702\")),\nperson(given = \"Donald\",\nfamily = \"Hedeker\",\nrole = c(\"aut\"),\nemail = \"hedeker@uchicago.edu\",\ncomment = c(ORCID = \"0000-0001-8134-6094\")))",
  "URL": "https://joshuawiley.com/brmsmargins/,\nhttps://github.com/JWiley/brmsmargins",
  "BugReports": "https://github.com/JWiley/brmsmargins/issues",
  "Description": "Calculate Bayesian marginal effects, average marginal\neffects, and marginal coefficients (also called population\naveraged coefficients) for models fit using the 'brms' package\nincluding fixed effects, mixed effects, and location scale\nmodels. These are based on marginal predictions that integrate\nout random effects if necessary (see for example\n<doi:10.1186/s12874-015-0046-6> and <doi:10.1111/biom.12707>).",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://jwiley.r-universe.dev",
  "Date/Publication": "2026-06-18 02:50:13 UTC",
  "RemoteUrl": "https://github.com/jwiley/brmsmargins",
  "RemoteRef": "HEAD",
  "RemoteSha": "1850d2dfa404b53af443e04e306afd8c5b48e018",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-18 05:21:12 UTC",
    "User": "root"
  },
  "Author": "Joshua F. Wiley [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0271-6702>),\nDonald Hedeker [aut] (ORCID: <https://orcid.org/0000-0001-8134-6094>)",
  "Maintainer": "Joshua F. Wiley <jwiley.psych@gmail.com>",
  "_user": "jwiley",
  "_type": "src",
  "_file": "brmsmargins_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/dc4e4ea84bf6fb0874a5c5fdc32e2188b907ebdb1c9c779cdf06c7662fce0912",
  "_filesize": 258632,
  "_sha256": "dc4e4ea84bf6fb0874a5c5fdc32e2188b907ebdb1c9c779cdf06c7662fce0912",
  "_expires": "2026-10-26T05:28:43.000Z",
  "_created": "2026-07-18T05:21:12.000Z",
  "_published": "2026-07-18T05:28:45.540Z",
  "_jobs": [
    {
      "job": 88047824726,
      "time": 246,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8425870537"
    },
    {
      "job": 88047824716,
      "time": 227,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8425867290"
    },
    {
      "job": 88047824720,
      "time": 222,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8425866809"
    },
    {
      "job": 88047824731,
      "time": 248,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8425870123"
    },
    {
      "job": 88047824723,
      "time": 184,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8425860844"
    },
    {
      "job": 88047824705,
      "time": 385,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8425891283"
    },
    {
      "job": 88047824721,
      "time": 222,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8425866646"
    },
    {
      "job": 88047824713,
      "time": 246,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8425870254"
    },
    {
      "job": 88047423659,
      "time": 294,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8425832064"
    },
    {
      "job": 88047824692,
      "time": 194,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8425862203"
    },
    {
      "job": 88047824711,
      "time": 218,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8425866142"
    },
    {
      "job": 88047824708,
      "time": 190,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8425861622"
    },
    {
      "job": 88047824710,
      "time": 203,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8425863656"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/jwiley/actions/runs/29631988204",
  "_status": "success",
  "_upstream": "https://github.com/jwiley/brmsmargins",
  "_commit": {
    "id": "1850d2dfa404b53af443e04e306afd8c5b48e018",
    "author": "Joshua F. Wiley <jwiley.psych@gmail.com>",
    "committer": "Joshua F. Wiley <jwiley.psych@gmail.com>",
    "message": "github action bumps and roxygen bump\n",
    "time": 1781751013
  },
  "_maintainer": {
    "name": "Joshua F. Wiley",
    "email": "jwiley.psych@gmail.com",
    "login": "jwiley",
    "twitter": "@WileyResearch",
    "description": "I am a lecturer in the Turner Institute for Brain and Mental Health and School of Psychological Sciences at Monash University",
    "uuid": 322716,
    "orcid": "0000-0002-0271-6702"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.12.0",
      "role": "Imports"
    },
    {
      "package": "extraoperators",
      "version": ">= 0.1.1",
      "role": "Imports"
    },
    {
      "package": "brms",
      "role": "Imports"
    },
    {
      "package": "bayestestR",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "margins",
      "role": "Suggests"
    },
    {
      "package": "betareg",
      "role": "Suggests"
    }
  ],
  "_owner": "jwiley",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-39",
      "n": 7
    },
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 7
    },
    {
      "week": "2026-15",
      "n": 4
    },
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 20,
  "_contributors": [
    {
      "user": "jwiley",
      "count": 107,
      "uuid": 322716
    },
    {
      "user": "jwrozelle",
      "count": 2,
      "uuid": 3331999
    }
  ],
  "_userbio": {
    "uuid": 322716,
    "type": "user",
    "name": "Joshua F. Wiley, Ph.D.",
    "followers": 56,
    "description": "I am a lecturer in the Turner Institute for Brain and Mental Health and School of Psychological Sciences at Monash University"
  },
  "_downloads": {
    "count": 2629,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/brmsmargins"
  },
  "_devurl": "https://github.com/jwiley/brmsmargins",
  "_pkgdown": "https://joshuawiley.com/brmsmargins/",
  "_searchresults": 55,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/brmsmargins.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jwiley/brmsmargins",
  "_realowner": "jwiley",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2021-12-16"
    },
    {
      "version": "0.2.0",
      "date": "2022-05-18"
    },
    {
      "version": "0.2.1",
      "date": "2025-09-26"
    },
    {
      "version": "0.3.0",
      "date": "2026-04-06"
    }
  ],
  "_exports": [
    "brmsmargins",
    "bsummary",
    "integratemvn",
    "integratemvt",
    "integratere",
    "lmcpp",
    "marginalcoef",
    "prediction",
    "rowBootMeans",
    "tab2mat"
  ],
  "_help": [
    {
      "page": "brmsmargins",
      "title": "Calculate Marginal Effects from 'brms' Models",
      "topics": [
        "brmsmargins"
      ]
    },
    {
      "page": "bsummary",
      "title": "Personal Preference Based Bayesian Summary",
      "topics": [
        "bsummary"
      ]
    },
    {
      "page": "integratemvn",
      "title": "Integrate over Multivariate Normal Random Effects",
      "topics": [
        "integratemvn",
        "integratemvnR"
      ]
    },
    {
      "page": "integratemvt",
      "title": "Integrate over Multivariate Student-t Random Effects",
      "topics": [
        "integratemvt",
        "integratemvtR"
      ]
    },
    {
      "page": "integratere",
      "title": "Integrate over Random Effects",
      "topics": [
        "integratere",
        "integratereR"
      ]
    },
    {
      "page": "lmcpp",
      "title": "Fast Linear Regression",
      "topics": [
        "lmcpp"
      ]
    },
    {
      "page": "marginalcoef",
      "title": "Marginal Coefficients from a 'brms' Model",
      "topics": [
        "marginalcoef"
      ]
    },
    {
      "page": "prediction",
      "title": "Marginal Posterior Predictions from a 'brms' Model",
      "topics": [
        "prediction"
      ]
    },
    {
      "page": "rowBootMeans",
      "title": "Bootstrap Row Means",
      "topics": [
        "rowBootMeans"
      ]
    },
    {
      "page": "tab2mat",
      "title": "Convert a Row of a Table to a Square Matrix",
      "topics": [
        "tab2mat",
        "tab2matR"
      ]
    }
  ],
  "_readme": "https://github.com/jwiley/brmsmargins/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "bayesplot",
    "bayestestR",
    "BH",
    "bridgesampling",
    "brms",
    "Brobdingnag",
    "callr",
    "checkmate",
    "cli",
    "coda",
    "codetools",
    "cpp11",
    "data.table",
    "datawizard",
    "desc",
    "digest",
    "distributional",
    "dplyr",
    "extraoperators",
    "farver",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "ggridges",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "insight",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "loo",
    "magrittr",
    "Matrix",
    "matrixStats",
    "mgcv",
    "mvtnorm",
    "nleqslv",
    "nlme",
    "numDeriv",
    "otel",
    "parallelly",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "plyr",
    "posterior",
    "processx",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "reshape2",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "stringi",
    "stringr",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "fixed-effects-marginaleffects.Rmd",
      "filename": "fixed-effects-marginaleffects.html",
      "title": "Marginal Effects for Fixed Effects Models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What are marginal effects?",
        "Average Marginal Effect (AME)",
        "AMEs for Logistic Regression",
        "AMEs for Poisson Regression",
        "AMEs for Negative Binomial Regression",
        "AMEs for Binomial Regression",
        "References"
      ],
      "created": "2021-11-26 20:30:02",
      "modified": "2026-04-03 06:06:46",
      "commits": 11
    },
    {
      "source": "location-scale-marginaleffects.Rmd",
      "filename": "location-scale-marginaleffects.html",
      "title": "Marginal Effects for Location Scale Models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "AMEs for Fixed Effects Location Scale Models",
        "AMEs for Mixed Effects Location Scale Models"
      ],
      "created": "2021-11-28 07:30:42",
      "modified": "2026-04-03 06:06:46",
      "commits": 12
    },
    {
      "source": "mixed-effects-marginaleffects.Rmd",
      "filename": "mixed-effects-marginaleffects.html",
      "title": "Marginal Effects for Mixed Effects Models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Integrating out Random Effects",
        "Using brmsmargins()",
        "Mixed Effects Logistic Regression",
        "AMEs",
        "Marginal Coefficients",
        "Mixed Effects Poisson Regression",
        "Mixed Effects Negative Binomial Regression",
        "Mixed Effects Binomial Regression",
        "Centered Categorical Predictors",
        "Interactions and Marginal Effects",
        "References"
      ],
      "created": "2021-11-26 20:30:02",
      "modified": "2026-04-03 06:06:46",
      "commits": 18
    }
  ],
  "_score": 7.482372570334526,
  "_indexed": true,
  "_nocasepkg": "brmsmargins",
  "_universes": [
    "jwiley"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-07-18T05:24:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "https://r2.ropensci.org/e7b1b4676119d9d34beee47fc6bbde47287883bcd2dccecb6cebb35075f7ce67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/29631988204"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-07-18T05:24:24.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "https://r2.ropensci.org/285f847459cda4f750571f945c25215e61760dc8f99623cedf0a72f5cc3e81f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/29631988204"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-07-18T05:24:37.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "https://r2.ropensci.org/7471c6a51e238bf4dbf00a4c38193bfbac12bcc77ff4bbb4d8814992ee1b5b2b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/29631988204"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-07-18T05:24:38.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "https://r2.ropensci.org/407c9fbb484cebcc390bb414b88ed3dcaf7d23fbe6fc3c741f10bf027c02c189",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/29631988204"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-07-18T05:23:41.000Z",
      "arch": "aarch64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "https://r2.ropensci.org/a0bff81c341df7f75a353255294faad5c7871d5f86c9d7f6ea26ce0f01134388",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/29631988204"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-07-18T05:25:41.000Z",
      "arch": "x86_64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "https://r2.ropensci.org/9bac030e1eba45ce106fc7607b26731a34b7795911457adf0cf1c4854c8810bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/29631988204"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-07-18T05:23:56.000Z",
      "arch": "aarch64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "https://r2.ropensci.org/991d21c06fcff8d7e04de69335aaf25ce4fb7c36e149e97d8edc43cebaf226b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/29631988204"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-07-18T05:24:11.000Z",
      "arch": "x86_64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "https://r2.ropensci.org/88ccd02964f22c0106a1e9f929f15cb1aa860bc3dbc882f4f3a9c3186e5ceb6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/29631988204"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-07-18T05:24:39.000Z",
      "arch": "emscripten",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "https://r2.ropensci.org/bba3ca1ab002ab3d96a3eb59d5e1cef5b8f0fb3e4d017b2fec0fb746fad39afe",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/29631988204"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-07-18T05:23:31.000Z",
      "arch": "x86_64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "https://r2.ropensci.org/1069bc563f8e9a2d5135675a09da60754806a46370c9d06402fe0688c0c5264d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/29631988204"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-07-18T05:23:22.000Z",
      "arch": "x86_64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "https://r2.ropensci.org/7073befcb5b244a0745a44d90311a7cde9fbdfa45372e3e4298c1c581160fc23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/29631988204"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-07-18T05:23:07.000Z",
      "arch": "x86_64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "https://r2.ropensci.org/6c49c75cf6486fd617f3e872cda766caefb113105e3826909f058213cf291f52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/29631988204"
    }
  ]
}