{
  "_id": "6a3399d13efcd9bda43a4de7",
  "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-06-18 06:48:13 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>",
  "MD5sum": "5d3388d1a4cdea8103eca86d563778ed",
  "_user": "jwiley",
  "_type": "src",
  "_file": "brmsmargins_0.3.0.tar.gz",
  "_fileid": "1673446c1336d917e2548b01f1253d10bb384b3d39fab8df4af6176d9390fc59",
  "_filesize": 261058,
  "_sha256": "1673446c1336d917e2548b01f1253d10bb384b3d39fab8df4af6176d9390fc59",
  "_created": "2026-06-18T06:48:13.000Z",
  "_published": "2026-06-18T07:10:09.350Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82071202398,
      "time": 267,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7716181145"
    },
    {
      "job": 82071202459,
      "time": 222,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7716167752"
    },
    {
      "job": 82071202425,
      "time": 212,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7716164983"
    },
    {
      "job": 82071202378,
      "time": 233,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7716172711"
    },
    {
      "job": 82071202374,
      "time": 144,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7716449617"
    },
    {
      "job": 82071202373,
      "time": 351,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7716229056"
    },
    {
      "job": 82071202389,
      "time": 161,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7716462094"
    },
    {
      "job": 82071202385,
      "time": 387,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7716378610"
    },
    {
      "job": 82070572693,
      "time": 260,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7716101414"
    },
    {
      "job": 82071202352,
      "time": 196,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7716160374"
    },
    {
      "job": 82071202394,
      "time": 201,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7716161713"
    },
    {
      "job": 82071202466,
      "time": 218,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7716166707"
    },
    {
      "job": 82071202455,
      "time": 207,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7716166571"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jwiley/actions/runs/27741797080",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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": 19,
  "_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": 4486,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/brmsmargins"
  },
  "_devurl": "https://github.com/jwiley/brmsmargins",
  "_pkgdown": "https://joshuawiley.com/brmsmargins/",
  "_searchresults": 52,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_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.26+ds-1ubuntu0.1",
      "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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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.667805512904516,
  "_indexed": true,
  "_nocasepkg": "brmsmargins",
  "_universes": [
    "jwiley"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-06-18T06:52:13.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "d0559d2dd63e6f58b2b66c2be324e8da6daa08b5fa9ba496b1cdea9dd2b91076",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/27741797080"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-06-18T06:51:22.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "451fc5601b4eaad9536053955063a41d74a42551d6313458c632a1a6a61850df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/27741797080"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-06-18T06:51:18.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "565c550e89caf6d89a51b263d6ad6373357db393fdce85e5152f21bdbc9cc179",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/27741797080"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-06-18T06:51:37.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "858731ad32b92db54d8bd41b7ca900952ec921fb52b56a3ca09220bb570ec5ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/27741797080"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-06-18T07:08:02.000Z",
      "arch": "aarch64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "44fa84652c93a1c10f12c65c13834d025976483c82d6494bc17d358b816c1e1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/27741797080"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-06-18T06:53:56.000Z",
      "arch": "x86_64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "1c519053881655c0ec4f880463197ee046feab8ca87f5d3f2ef391b202c8b93d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/27741797080"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-06-18T07:08:26.000Z",
      "arch": "aarch64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "bfaf081a73cd25b2129041956f599f59d489071ba6ee7f3e7b667d9c91d6798a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/27741797080"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-06-18T07:01:49.000Z",
      "arch": "x86_64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "acd9303f2b639dbebf11652c463787dfc39c73ba66d200655f58add5f4ae8760",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/27741797080"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-06-18T06:51:45.000Z",
      "arch": "emscripten",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "83e5829a4b0ebe654e79c6aef0c9a26a496a2e8927c00779cd8c7c17ceba744b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/27741797080"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-06-18T06:50:21.000Z",
      "arch": "x86_64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "225376b377b1f0090e86c46e5ccd2dda0eb54a12507f931885e31e99ad4ece86",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/27741797080"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-06-18T06:50:29.000Z",
      "arch": "x86_64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "7382ddaee7f6ab6274f76a69fa664e053b333df44974be499e45bbcf5cbf7227",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/27741797080"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-06-18T06:50:27.000Z",
      "arch": "x86_64",
      "commit": "1850d2dfa404b53af443e04e306afd8c5b48e018",
      "fileid": "37002ce511d9e385a2f6e9f1ac02140ce076f1f2b2962cc0486f5356974eabc7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/27741797080"
    }
  ]
}