{
  "_id": "6a1427baacfb0bcc41d3ff34",
  "Package": "multilevelmediation",
  "Type": "Package",
  "Title": "Utility Functions for Multilevel Mediation Analysis",
  "Version": "0.4.1",
  "Date": "2024-12-28",
  "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>. Support for Bayesian\nestimation using 'brms' comprises ongoing work. 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": "2025-01-10 11:50:32 UTC",
  "RemoteUrl": "https://github.com/falkcarl/multilevelmediation",
  "RemoteRef": "HEAD",
  "RemoteSha": "604c6fd437430847d8ebc8bdf9a473fa282f8fde",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-25 10:38:33 UTC",
    "User": "root"
  },
  "Author": "Carl F. Falk [cre, aut],\nTodd Vogel [aut],\nSarah Hammami [aut],\nMilica Miočević [aut]",
  "MD5sum": "ead46a39624f4d215b05a4c80233231e",
  "_user": "falkcarl",
  "_type": "src",
  "_file": "multilevelmediation_0.4.1.tar.gz",
  "_fileid": "84211fd11195ee976bb8567842fa1283d91e2b83cbbf67ea39dcaf66722e4443",
  "_filesize": 255483,
  "_sha256": "84211fd11195ee976bb8567842fa1283d91e2b83cbbf67ea39dcaf66722e4443",
  "_created": "2026-05-25T10:38:33.000Z",
  "_published": "2026-05-25T10:43:06.566Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77697551241,
      "time": 225,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7196617971"
    },
    {
      "job": 77697551266,
      "time": 204,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196612739"
    },
    {
      "job": 77697551265,
      "time": 125,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7196592742"
    },
    {
      "job": 77697551300,
      "time": 121,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196592019"
    },
    {
      "job": 77697029624,
      "time": 249,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196558744"
    },
    {
      "job": 77697551226,
      "time": 170,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196604302"
    },
    {
      "job": 77697551254,
      "time": 164,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7196603041"
    },
    {
      "job": 77697551256,
      "time": 198,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7196612159"
    },
    {
      "job": 77697551267,
      "time": 199,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196611635"
    }
  ],
  "_buildurl": "https://github.com/r-universe/falkcarl/actions/runs/26396092511",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/falkcarl/multilevelmediation",
  "_commit": {
    "id": "604c6fd437430847d8ebc8bdf9a473fa282f8fde",
    "author": "falkcarl <carl.falk@mcgill.ca>",
    "committer": "falkcarl <carl.falk@mcgill.ca>",
    "message": "other fixes for CRAN\n",
    "time": 1736509832
  },
  "_maintainer": {
    "name": "Carl F. Falk",
    "email": "carl.falk@mcgill.ca",
    "login": "falkcarl",
    "description": "",
    "uuid": 15793990
  },
  "_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": [],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "falkcarl",
      "count": 129,
      "uuid": 15793990
    },
    {
      "user": "toddvogel1628",
      "count": 8,
      "uuid": 33038588
    },
    {
      "user": "sarahhammami",
      "count": 2,
      "uuid": 76981641
    }
  ],
  "_userbio": {
    "uuid": 15793990,
    "type": "user",
    "name": "falkcarl"
  },
  "_downloads": {
    "count": 649,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/multilevelmediation"
  },
  "_devurl": "https://github.com/falkcarl/multilevelmediation",
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_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",
    "microbenchmark",
    "minqa",
    "modelr",
    "mvtnorm",
    "nleqslv",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "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.4.1",
      "date": "2026-05-25T10:41:29.000Z",
      "distro": "noble",
      "commit": "604c6fd437430847d8ebc8bdf9a473fa282f8fde",
      "fileid": "7ed05c2d3f6f90f08fcce500e14fdfb62ec0016fe3ec8becb135ccb2b4311299",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/26396092511"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-05-25T10:41:14.000Z",
      "distro": "noble",
      "commit": "604c6fd437430847d8ebc8bdf9a473fa282f8fde",
      "fileid": "1e3d858738fa3a5bb5b46da29b5dc89d5c1932098259d555148bb12d96faae7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/26396092511"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-05-25T10:40:20.000Z",
      "commit": "604c6fd437430847d8ebc8bdf9a473fa282f8fde",
      "fileid": "04cde9fd6735a88556801b2f221628b7892b2758ecf61c1a58285970f205aef5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/26396092511"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-05-25T10:40:12.000Z",
      "commit": "604c6fd437430847d8ebc8bdf9a473fa282f8fde",
      "fileid": "7c497b34dd5b4c80eb9284efa41314e646663ae1dc91ff1faee67d572446d447",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/26396092511"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1",
      "date": "2026-05-25T10:41:50.000Z",
      "commit": "604c6fd437430847d8ebc8bdf9a473fa282f8fde",
      "fileid": "2de1cd1205482904f65711005964860e7662f9fc246a01c0937a9a4455b62345",
      "status": "success",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/26396092511"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-05-25T10:40:24.000Z",
      "commit": "604c6fd437430847d8ebc8bdf9a473fa282f8fde",
      "fileid": "4d22607bc7044171f81b3407c1f6429bb1eb8a2a80736bcdd39a2d8ee6f82d6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/26396092511"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-05-25T10:40:55.000Z",
      "commit": "604c6fd437430847d8ebc8bdf9a473fa282f8fde",
      "fileid": "49b47e804e99644ddffdab49ee77c782824f3abf221b6619e76896b0b478ddc5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/26396092511"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-05-25T10:40:36.000Z",
      "commit": "604c6fd437430847d8ebc8bdf9a473fa282f8fde",
      "fileid": "83e2622bee11cddd37b92f6bbfe7e7aafbcceb27289012d7072ae3635429c064",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/falkcarl/actions/runs/26396092511"
    }
  ]
}