Skip to content

medflex

0.6-11

Flexible Mediation Analysis Using Natural Effect Models

0packages depend
13.1Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Johan SteenFirst published 2014-12-1110 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 2.7 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
8
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 0% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
80%
References docs
27%

Downloads

13.1K
CRAN downloads in the past year
Rank #3,680 · ~36/day · ~1.1K/mo
Daily download trend is not available in this view yet.
77430 days
2.6K90 days
13.1K1 year
Compare downloads with other packages →
Also on144 r2u3 autocran734 conda_forge87 c2d4u

Repository

Repository
25Stars
7Forks
10Open issues
0Open PRs
0Releases
88Commits
3Contributors
mediation-analysiscausal-inferenceflexible-modelingr-package
88 commits · Last activity 2023-06-22 · 0% stars, 30d

Stars over time

2025-06-08 · 242026-07-07 · 25

Repository practices

Upstream repositoryBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/jmpsteen/medflex on 2026-08-09.

Continuous integration (1)
Travis CI
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.1.2multcomp
Imports (7)
bootcarMatrixgraphicssandwichstatsutils (>= 3.1.2)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (10)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Author
Contributors (6)
Contributor · added in 0.6-6
Contributor
Contributor · added in 0.6-1
Contributor
Contributor · added in 0.6-10
Contributor · added in 0.6-10
Package Timeline

10 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.6-11Latest
    2025-10-13 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.6-10
    2023-06-22 · diff ↗
  • unarchivedReturned to CRAN
    2023-06-22
  • R
    R 4.3.0 released · 2023-04-21
  • archivedRemoved from CRAN
    2023-04-13
    issues were not corrected in time
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.6-7
    2020-08-03 · diff ↗
  • unarchivedReturned to CRAN
    2020-08-03
  • archivedRemoved from CRAN
    2020-05-01
    check issues were not corrected despite reminders
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.6-6
    2018-09-03 · diff ↗
Show 11 earlier events
  • R
    R 3.5.0 released · 2018-04-23
  • 0.6-4
    2017-09-15 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.6-1
    2017-02-22 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.6-0
    2015-09-13 · diff ↗
  • 0.5-1
    2015-07-01 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 0.5-0
    2015-02-07 · diff ↗
  • 0.4.0
    2014-12-11
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-12-11
Total releases
10 / 12 yrs
License
GPL-2 OSI
Minimum R
≥ 3.1.2
Bundled data
4.6 KB / 1 file
Download size
626 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("medflex")
Steen, J., Fink, P., Lange, T., Legewie, J., Loeys, T., Meys, J., Moerkerke, B., Rosseel, Y., Vansteelandt, S., & Weisberg, S. (2025). medflex: Flexible Mediation Analysis Using Natural Effect Models (Version 0.6-11) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for medflex version 0.6-11 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy