{
  "_id": "6a1ee7ddb401979e73411946",
  "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)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://jwiley.r-universe.dev",
  "Date/Publication": "2026-05-01 11:38:55 UTC",
  "RemoteUrl": "https://github.com/jwiley/brmsmargins",
  "RemoteRef": "HEAD",
  "RemoteSha": "72157f638c5c931bb58354d510016521117462d2",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-19 11:35:57 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": "514465cddc874de512cfc86468d477a8",
  "_user": "jwiley",
  "_type": "src",
  "_file": "brmsmargins_0.3.0.tar.gz",
  "_fileid": "27caacf32286561b186d7d7d1bb7ddbcd053713c0baf61ae718556d5a32309df",
  "_filesize": 258500,
  "_sha256": "27caacf32286561b186d7d7d1bb7ddbcd053713c0baf61ae718556d5a32309df",
  "_created": "2026-05-19T11:35:57.000Z",
  "_published": "2026-06-02T14:25:33.911Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79093731900,
      "time": 251,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7082398635"
    },
    {
      "job": 79093732471,
      "time": 231,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7082392359"
    },
    {
      "job": 79093732761,
      "time": 217,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7082388118"
    },
    {
      "job": 79093732252,
      "time": 215,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7082387095"
    },
    {
      "job": 79093733045,
      "time": 178,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7082374789"
    },
    {
      "job": 79093732341,
      "time": 272,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7082405273"
    },
    {
      "job": 79093733306,
      "time": 191,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7082379734"
    },
    {
      "job": 79093732554,
      "time": 311,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7082417712"
    },
    {
      "job": 79093731959,
      "time": 295,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7082315737"
    },
    {
      "job": 79093731293,
      "time": 185,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7360523549"
    },
    {
      "job": 79093733003,
      "time": 230,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7082392204"
    },
    {
      "job": 79093732909,
      "time": 226,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7082392295"
    },
    {
      "job": 79093732765,
      "time": 240,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7082395208"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jwiley/actions/runs/26094368621",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jwiley/brmsmargins",
  "_commit": {
    "id": "72157f638c5c931bb58354d510016521117462d2",
    "author": "Joshua F. Wiley <jwiley.psych@gmail.com>",
    "committer": "Joshua F. Wiley <jwiley.psych@gmail.com>",
    "message": "test\n",
    "time": 1777635535
  },
  "_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
    }
  ],
  "_tags": [],
  "_stars": 19,
  "_contributors": [
    {
      "user": "jwiley",
      "count": 106,
      "uuid": 322716
    },
    {
      "user": "jwrozelle",
      "count": 2,
      "uuid": 3331999
    }
  ],
  "_userbio": {
    "uuid": 322716,
    "type": "user",
    "name": "Joshua F. Wiley, Ph.D.",
    "description": "I am a lecturer in the Turner Institute for Brain and Mental Health and School of Psychological Sciences at Monash University"
  },
  "_downloads": {
    "count": 4824,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/brmsmargins"
  },
  "_devurl": "https://github.com/jwiley/brmsmargins",
  "_pkgdown": "https://joshuawiley.com/brmsmargins/",
  "_searchresults": 47,
  "_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",
    "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.588501267459966,
  "_indexed": true,
  "_nocasepkg": "brmsmargins",
  "_universes": [
    "jwiley"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-19T11:39:44.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "72157f638c5c931bb58354d510016521117462d2",
      "fileid": "2b04d548d9a87f8331853134e36fab2516b15df72360dd97bd1c73c832bd788d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/26094368621"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-19T11:39:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "72157f638c5c931bb58354d510016521117462d2",
      "fileid": "4df86c3e94fa0976165495ca4c2216b3b6b13d5b75416019fc124069af6d542e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/26094368621"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-19T11:39:12.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "72157f638c5c931bb58354d510016521117462d2",
      "fileid": "940d1cf4406cfef48ba0600e95d0c926b1418956e99b98661e883d58a8e0fe84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/26094368621"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-19T11:39:12.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "72157f638c5c931bb58354d510016521117462d2",
      "fileid": "30a3d9e138dbf984edf1fa19251292d82c8f7663ea2eb707da32beb4dacec340",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/26094368621"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-19T11:38:27.000Z",
      "arch": "aarch64",
      "commit": "72157f638c5c931bb58354d510016521117462d2",
      "fileid": "2f7384905864647253e0ff3d98b64061f25eafbe60cd7855409d1bd905dfb6c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/26094368621"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-19T11:39:08.000Z",
      "arch": "x86_64",
      "commit": "72157f638c5c931bb58354d510016521117462d2",
      "fileid": "a7a845557b58e2ca1a7be5ba12a0a79d1ec7365b6ad6bf2b7c48417e4098ce6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/26094368621"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-19T11:38:25.000Z",
      "arch": "aarch64",
      "commit": "72157f638c5c931bb58354d510016521117462d2",
      "fileid": "f8136017b05e8485eafc921a7f9114c93b1f2ceac914526687b33e1a898d7ba9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/26094368621"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-19T11:39:57.000Z",
      "arch": "x86_64",
      "commit": "72157f638c5c931bb58354d510016521117462d2",
      "fileid": "cc66b76e2711095168affb76eab09fffbbadd38751dff30036b5f52e9e3d860a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/26094368621"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-19T11:38:23.000Z",
      "arch": "x86_64",
      "commit": "72157f638c5c931bb58354d510016521117462d2",
      "fileid": "c475841e1848f80af899c01753e78b54edece7d24e8ca88b86d0b056a178d358",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/26094368621"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-19T11:38:22.000Z",
      "arch": "x86_64",
      "commit": "72157f638c5c931bb58354d510016521117462d2",
      "fileid": "4be26435091eb5ba74147f6da455917f21cc1e44a353b28dbe6946e6ebc12337",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/26094368621"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-19T11:38:52.000Z",
      "arch": "x86_64",
      "commit": "72157f638c5c931bb58354d510016521117462d2",
      "fileid": "fc4ba842c90abc462dd816422f92217267dbec3308355e2c65f5161f694b125f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/26094368621"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-06-02T14:24:34.000Z",
      "arch": "emscripten",
      "commit": "72157f638c5c931bb58354d510016521117462d2",
      "fileid": "084025325439524b63a7a57fe8bfbcf472a9e9806cbc159f15a9597a34ef2970",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jwiley/actions/runs/26094368621"
    }
  ]
}