Utility Functions for Multilevel Mediation Analysis
Overview
The ultimate goal is to support 2-2-1, 2-1-1, and 1-1-1 models for multilevel mediation, the option of a moderating variable for either the a, b, or both paths, and covariates. Currently the 1-1-1 model is supported and several options of random effects; the initial code for bootstrapping was evaluated in simulations by Falk, Vogel, Hammami, and Miočević (2024) doi:10.3758/s13428-023-02079-4. Currently only continuous mediators and outcomes are supported. Factors for any predictors must be numerically represented.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 11
- Examples that run
- 0%9 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 93%
- Return-value docs
- 100%
- Help pages citing references
- 64%
Downloads
Repository
- PRs merged (all time)
- 89%
- Median days to close, 50 most recently updated closed issues
- 143
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/falkcarl/multilevelmediation on 2026-10-18.
Dependencies
Installing multilevelmediation adds 103 packages (54 with compiled code, 107 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.5.0Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.4.12025-01-10 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.3.12024-02-29
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-02-29
- Total releases
- 3 / 2 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 39 KB / 2 files
- Download size
- 89 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("multilevelmediation")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.3758/s13428-023-02079-4.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.