{
  "_id": "6a227410cd65a98ecbd4a19d",
  "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",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-05 06:55:12 UTC",
    "User": "root"
  },
  "Author": "Joshua F. Wiley [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0271-6702>), Donald Hedeker [aut]\n(ORCID: <https://orcid.org/0000-0001-8134-6094>)",
  "Maintainer": "Joshua F. Wiley <jwiley.psych@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-04-06 09:44:41 UTC",
  "RemoteUrl": "https://github.com/cran/brmsmargins",
  "RemoteRef": "HEAD",
  "RemoteSha": "4ca4fbb3a3ce22a92dc023ad911a40e57c0daf53",
  "MD5sum": "25c4a14e4a9dca747d18b1b415241a38",
  "_user": "cran",
  "_type": "src",
  "_file": "brmsmargins_0.3.0.tar.gz",
  "_fileid": "4902ef34ffc390113a49b8364654851f404875578915c9c3200096d6d741c50f",
  "_filesize": 259070,
  "_sha256": "4902ef34ffc390113a49b8364654851f404875578915c9c3200096d6d741c50f",
  "_created": "2026-06-05T06:55:12.000Z",
  "_published": "2026-06-05T07:00:32.500Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79679309297,
      "time": 206,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430672064"
    },
    {
      "job": 79679309319,
      "time": 230,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430676996"
    },
    {
      "job": 79679309299,
      "time": 220,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430675238"
    },
    {
      "job": 79679309295,
      "time": 213,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430673115"
    },
    {
      "job": 79678693115,
      "time": 296,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430621622"
    },
    {
      "job": 79679309286,
      "time": 181,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430665307"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27000066720",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/brmsmargins",
  "_commit": {
    "id": "4ca4fbb3a3ce22a92dc023ad911a40e57c0daf53",
    "author": "Joshua F. Wiley <jwiley.psych@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.0\n",
    "time": 1775468681
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-39",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.1",
      "date": "2025-09-26"
    },
    {
      "name": "0.3.0",
      "date": "2026-04-06"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jwiley",
      "count": 4,
      "uuid": 322716
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 5348,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/brmsmargins"
  },
  "_devurl": "https://github.com/jwiley/brmsmargins",
  "_pkgdown": "https://joshuawiley.com/brmsmargins/",
  "_searchresults": 46,
  "_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": false,
  "_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/cran/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-12-16 09:20:05",
      "modified": "2026-04-06 09:44:41",
      "commits": 4
    },
    {
      "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-12-16 09:20:05",
      "modified": "2026-04-06 09:44:41",
      "commits": 4
    },
    {
      "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-12-16 09:20:05",
      "modified": "2026-04-06 09:44:41",
      "commits": 4
    }
  ],
  "_score": 4.8680704849911836,
  "_indexed": false,
  "_nocasepkg": "brmsmargins",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://jwiley.r-universe.dev/brmsmargins",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-06-05T06:58:16.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4ca4fbb3a3ce22a92dc023ad911a40e57c0daf53",
      "fileid": "be1278bd9d2e673e139028fdaa7d661caf443167cbf62cb8e66f5fa0989b1719",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27000066720"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-06-05T06:58:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4ca4fbb3a3ce22a92dc023ad911a40e57c0daf53",
      "fileid": "c47f9e088393ad8d20e0982e94986528e85510476354a7597db65941e379055a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27000066720"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-06-05T06:58:28.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4ca4fbb3a3ce22a92dc023ad911a40e57c0daf53",
      "fileid": "37fd79e4154592b9525cee619126f6f16a0caa77964ffb4e351319c37ee52c80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27000066720"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-06-05T06:58:17.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4ca4fbb3a3ce22a92dc023ad911a40e57c0daf53",
      "fileid": "1c0851c401dab52458e6159c492e6e9fb81a80f1bccd1974017e2073cc50ad56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27000066720"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-06-05T06:58:38.000Z",
      "arch": "emscripten",
      "commit": "4ca4fbb3a3ce22a92dc023ad911a40e57c0daf53",
      "fileid": "8cb322df71245f609a9a4f1cfe3fa0af3854c98bf0f81241a0d28f0ce01de208",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27000066720"
    }
  ]
}