Flexible Mediation Analysis Using Natural Effect Models
Overview
Run flexible mediation analyses using natural effect models as described in Lange, Vansteelandt and Bekaert (2012) DOI:10.1093/aje/kwr525, Vansteelandt, Bekaert and Lange (2012) DOI:10.1515/2161-962X.1014 and Loeys, Moerkerke, De Smet, Buysse, Steen and Vansteelandt (2013) DOI:10.1080/00273171.2013.832132.
- Issue related to changes missing package anchors in the "Rd cross-references" check (in version 0.6-10) fixed
From NEWS in the release
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
Documentation signals are not tracked yet for this package.
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 12
- Median days to close, 50 most recently updated closed PRs
- 6
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/jmpsteen/medflex on 2026-10-11.
Dependencies
Installing medflex adds 64 packages (33 with compiled code, 66 MB of source tarballs). Heaviest: stringi 11 MB, TH.data 8.2 MB, ggplot2 6.0 MB.
Code & Tests
Datasets
People & History
- RR 4.6.0 released · 2026-04-24
- 0.6-11Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2023-06-22
- 0.6-102023-06-22 · diff ↗
- RR 4.3.0 released · 2023-04-21
- archivedRemoved from CRAN2023-04-13issues were not corrected in time
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- unarchivedReturned to CRAN2020-08-03
- 0.6-72020-08-03 · diff ↗
- archivedRemoved from CRAN2020-05-01check issues were not corrected despite reminders
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.6-62018-09-03 · diff ↗
Show 11 earlier eventsHide 11 earlier events
Package metadata
- First published
- 2014-12-11
- Total releases
- 10 / 12 yrs
- License
- GPL-2 OSI
- Download size
- 626 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("medflex")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.