{
  "_id": "6a57cb03ff0138dec5d71e9a",
  "Package": "multilevelmediation",
  "Type": "Package",
  "Title": "Utility Functions for Multilevel Mediation Analysis",
  "Version": "0.5.0",
  "Date": "2026-07-15",
  "Authors@R": "c(person(given = c(\"Carl\",\"F.\"),\nfamily = \"Falk\",\nrole = c(\"cre\",\"aut\"),\nemail = \"carl.falk@mcgill.ca\"),\nperson(given = \"Todd\",\nfamily = \"Vogel\",\nrole = \"aut\"),\nperson(given = \"Sarah\",\nfamily = \"Hammami\",\nrole = \"aut\"),\nperson(given = \"Milica\",\nfamily = \"Miočević\",\nrole = \"aut\"))",
  "Maintainer": "Carl F. Falk <carl.falk@mcgill.ca>",
  "BugReports": "https://github.com/falkcarl/multilevelmediation/issues",
  "Description": "The ultimate goal is to support 2-2-1, 2-1-1, and 1-1-1\nmodels for multilevel mediation, the option of a moderating\nvariable for either the a, b, or both paths, and covariates.\nCurrently the 1-1-1 model is supported and several options of\nrandom effects; the initial code for bootstrapping was\nevaluated in simulations by Falk, Vogel, Hammami, and Miočević\n(2024) <doi:10.3758/s13428-023-02079-4>. Currently only\ncontinuous mediators and outcomes are supported. Factors for\nany predictors must be numerically represented.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://falkcarl.r-universe.dev",
  "Date/Publication": "2026-07-15 17:02:39 UTC",
  "RemoteUrl": "https://github.com/falkcarl/multilevelmediation",
  "RemoteRef": "HEAD",
  "RemoteSha": "02700a91c8a446511c72204f939b3ce71a18f964",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-15 17:56:02 UTC",
    "User": "root"
  },
  "Author": "Carl F. Falk [cre, aut],\nTodd Vogel [aut],\nSarah Hammami [aut],\nMilica Miočević [aut]",
  "_user": "falkcarl",
  "_type": "src",
  "_file": "multilevelmediation_0.5.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/2c2ea0e4b46b14903ec08f7f2ea88f484f6ba8f13ed7633c7ec27784d40c1571",
  "_filesize": 257021,
  "_sha256": "2c2ea0e4b46b14903ec08f7f2ea88f484f6ba8f13ed7633c7ec27784d40c1571",
  "_expires": "2026-10-23T18:01:37.000Z",
  "_created": "2026-07-15T17:56:02.000Z",
  "_published": "2026-07-15T18:01:39.112Z",
  "_jobs": [
    {
      "job": 87431269726,
      "time": 255,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8352524818"
    },
    {
      "job": 87431269707,
      "time": 269,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8352531180"
    },
    {
      "job": 87431269769,
      "time": 127,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8352469643"
    },
    {
      "job": 87431269825,
      "time": 174,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8352490166"
    },
    {
      "job": 87429948663,
      "time": 336,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8352412903"
    },
    {
      "job": 87431269748,
      "time": 164,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8352485566"
    },
    {
      "job": 87431269698,
      "time": 189,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8352496758"
    },
    {
      "job": 87431269747,
      "time": 186,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8352495702"
    },
    {
      "job": 87431269734,
      "time": 287,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8352534343"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/falkcarl/actions/runs/29438136792",
  "_status": "success",
  "_upstream": "https://github.com/falkcarl/multilevelmediation",
  "_commit": {
    "id": "02700a91c8a446511c72204f939b3ce71a18f964",
    "author": "falkcarl <carl.falk@mcgill.ca>",
    "committer": "falkcarl <carl.falk@mcgill.ca>",
    "message": "minor clean up\n",
    "time": 1784134959
  },
  "_maintainer": {
    "name": "Carl F. Falk",
    "email": "carl.falk@mcgill.ca",
    "login": "falkcarl",
    "description": "",
    "uuid": 15793990
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "furrr",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "matrixcalc",
      "role": "Imports"
    },
    {
      "package": "MCMCpack",
      "role": "Imports"
    },
    {
      "package": "nlme",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "parallelly",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "brms",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "role": "Imports"
    },
    {
      "package": "glmmTMB",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "boot",
      "role": "Suggests"
    },
    {
      "package": "BH",
      "role": "Suggests"
    }
  ],
  "_owner": "falkcarl",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-29",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "falkcarl",
      "count": 132,
      "uuid": 15793990
    },
    {
      "user": "toddvogel1628",
      "count": 9,
      "uuid": 33038588
    },
    {
      "user": "sarahhammami",
      "count": 2,
      "uuid": 76981641
    }
  ],
  "_userbio": {
    "uuid": 15793990,
    "type": "user",
    "name": "falkcarl",
    "followers": 13
  },
  "_downloads": {
    "count": 501,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/multilevelmediation"
  },
  "_devurl": "https://github.com/falkcarl/multilevelmediation",
  "_searchresults": 8,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/multilevelmediation.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/falkcarl/multilevelmediation",
  "_realowner": "falkcarl",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.1",
      "date": "2024-02-29"
    },
    {
      "version": "0.4.1",
      "date": "2025-01-10"
    }
  ],
  "_exports": [
    "boot.modmed.mlm",
    "boot.modmed.mlm.custom",
    "bootresid.modmed.mlm",
    "extract.boot.modmed.mlm",
    "extract.modmed.mlm",
    "extract.modmed.mlm.brms",
    "modmed.mlm",
    "modmed.mlm.brms",
    "stack_bpg"
  ],
  "_datasets": [
    {
      "name": "BPG06dat",
      "title": "Simulated dataset from Bauer, Preacher, and Gil (2006)",
      "object": "BPG06dat",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "x",
        "m",
        "y"
      ],
      "rows": 800,
      "table": true,
      "tojson": true
    },
    {
      "name": "simdat",
      "title": "A simulated dataset with moderator",
      "object": "simdat",
      "class": [
        "data.frame"
      ],
      "fields": [
        "L2id",
        "X",
        "M",
        "Y",
        "mod"
      ],
      "rows": 800,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "boot.modmed.mlm",
      "title": "Boot function for (moderated) mediation with 2-level multilevel models",
      "topics": [
        "boot.modmed.mlm"
      ]
    },
    {
      "page": "boot.modmed.mlm.custom",
      "title": "Bootstrapping multilevel mediation model (without boot package)",
      "topics": [
        "boot.modmed.mlm.custom"
      ]
    },
    {
      "page": "bootresid.modmed.mlm",
      "title": "Custom function for residual bootstrap for (moderated) multilevel mediation",
      "topics": [
        "bootresid.modmed.mlm"
      ]
    },
    {
      "page": "BPG06dat",
      "title": "Simulated dataset from Bauer, Preacher, and Gil (2006)",
      "topics": [
        "BPG06dat"
      ]
    },
    {
      "page": "extract.boot.modmed.mlm",
      "title": "Post-processing of bootstrap results from boot.modmed.mlm",
      "topics": [
        "extract.boot.modmed.mlm"
      ]
    },
    {
      "page": "extract.modmed.mlm",
      "title": "Post-processing of a model fit with modmed.mlm",
      "topics": [
        "extract.modmed.mlm"
      ]
    },
    {
      "page": "extract.modmed.mlm.brms",
      "title": "Post-processing of results from modmed.mlm.brms",
      "topics": [
        "extract.modmed.mlm.brms"
      ]
    },
    {
      "page": "modmed.mlm",
      "title": "Model definition and estimation function for two-level (moderated) mediation",
      "topics": [
        "modmed.mlm"
      ]
    },
    {
      "page": "modmed.mlm.brms",
      "title": "Custom model fitting function for a 1-1-1 (moderated) mediation for the brms code",
      "topics": [
        "modmed.mlm.brms"
      ]
    },
    {
      "page": "simdat",
      "title": "A simulated dataset with moderator",
      "topics": [
        "simdat"
      ]
    },
    {
      "page": "stack_bpg",
      "title": "Stacks data in the style of Bauer-Preacher-Gil for multilevel mediation",
      "topics": [
        "stack_bpg"
      ]
    }
  ],
  "_readme": "https://github.com/falkcarl/multilevelmediation/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "bayesplot",
    "BH",
    "boot",
    "bridgesampling",
    "brms",
    "Brobdingnag",
    "broom",
    "callr",
    "checkmate",
    "cli",
    "coda",
    "codetools",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "desc",
    "digest",
    "distributional",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "fracdiff",
    "furrr",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "ggridges",
    "glmmTMB",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "lme4",
    "lmtest",
    "loo",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixcalc",
    "MatrixModels",
    "matrixStats",
    "mcmc",
    "MCMCpack",
    "mgcv",
    "minqa",
    "modelr",
    "mvtnorm",
    "nleqslv",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "otel",
    "parallelly",
    "pbkrtest",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "plyr",
    "posterior",
    "processx",
    "ps",
    "purrr",
    "quantreg",
    "QuickJSR",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "Rdpack",
    "reformulas",
    "reshape2",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "sandwich",
    "scales",
    "SparseM",
    "StanHeaders",
    "stringi",
    "stringr",
    "survival",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "TMB",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_score": 3.9030899869919433,
  "_indexed": true,
  "_nocasepkg": "multilevelmediation",
  "_universes": [
    "falkcarl"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-07-15T17:59:27.000Z",
      "distro": "resolute",
      "commit": "02700a91c8a446511c72204f939b3ce71a18f964",
      "fileid": "https://r2.ropensci.org/8af2ad1f6dd9aba07429a8ce1567d25501b63edd9c0693fbef41aa626bb108f8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/29438136792"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-07-15T17:59:34.000Z",
      "distro": "resolute",
      "commit": "02700a91c8a446511c72204f939b3ce71a18f964",
      "fileid": "https://r2.ropensci.org/a9062f293ae51eac697158960309d1119eda1658ae89624810cc760fd338062b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/29438136792"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-07-15T17:57:47.000Z",
      "commit": "02700a91c8a446511c72204f939b3ce71a18f964",
      "fileid": "https://r2.ropensci.org/0babb838387774efb39855af5a1d9bae5072a5cc515d29607b01c973a011266d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/29438136792"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-07-15T17:58:14.000Z",
      "commit": "02700a91c8a446511c72204f939b3ce71a18f964",
      "fileid": "https://r2.ropensci.org/fba23f96a4d1017bb82bd6ae1ec50cf470ad425cacbcb2822b821daf3641f3f2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/29438136792"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0",
      "date": "2026-07-15T17:59:12.000Z",
      "commit": "02700a91c8a446511c72204f939b3ce71a18f964",
      "fileid": "https://r2.ropensci.org/e422318c86de37368b4be0945c81104b863471002535a4d8615f32f6d12e59f3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/29438136792"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-07-15T17:58:09.000Z",
      "commit": "02700a91c8a446511c72204f939b3ce71a18f964",
      "fileid": "https://r2.ropensci.org/46bfc37d67b123c26a1a10870d8a19aa579c4f50668f20ce10863f1ae1e3b9e5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/29438136792"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-07-15T17:58:06.000Z",
      "commit": "02700a91c8a446511c72204f939b3ce71a18f964",
      "fileid": "https://r2.ropensci.org/42deb12e5d8f8a79649cd2a6cf44b4d2b9eb1e9ae46d8c3048a1c5fc4a027ad5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/29438136792"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-07-15T17:59:29.000Z",
      "commit": "02700a91c8a446511c72204f939b3ce71a18f964",
      "fileid": "https://r2.ropensci.org/1ccfc39b0af95fab31ecb5c14c2b0e11afdf07e6e37eb35d972194cc3f386fae",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/29438136792"
    }
  ]
}