medflex

Flexible mediation analysis using natural effect models in R

https://github.com/jmpsteen/medflex

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 13 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.4%) to scientific vocabulary

Keywords

causal-inference flexible-modeling mediation-analysis r-package
Last synced: 10 months ago · JSON representation

Repository

Flexible mediation analysis using natural effect models in R

Basic Info
  • Host: GitHub
  • Owner: jmpsteen
  • Language: R
  • Default Branch: master
  • Size: 6.03 MB
Statistics
  • Stars: 16
  • Watchers: 7
  • Forks: 6
  • Open Issues: 10
  • Releases: 0
Topics
causal-inference flexible-modeling mediation-analysis r-package
Created over 11 years ago · Last pushed about 3 years ago
Metadata Files
Readme

README.md

medflex

CRAN_Status_Badge

This R package runs flexible mediation analyses using natural effect models, as introduced in

Lange, T., Vansteelandt, S., & Bekaert, M. (2012). A Simple Unified Approach for Estimating Natural Direct and Indirect Effects. American Journal of Epidemiology, 176(3), 190-195. doi:10.1093/aje/kwr525

Vansteelandt, S., Bekaert, M., & Lange, T. (2012). Imputation Strategies for the Estimation of Natural Direct and Indirect Effects. Epidemiologic Methods, 1(1), Article 7. doi:10.1515/2161-962X.1014

Loeys, T., Moerkerke, B., De Smet, O., Buysse, A., Steen, J., & Vansteelandt, S. (2013). Flexible Mediation Analysis in the Presence of Nonlinear Relations: Beyond the Mediation Formula. Multivariate Behavioral Research, 48(6), 871-894. doi:10.1080/00273171.2013.832132

Installation

To install the CRAN release version: R install.packages('medflex')

To install the latest development release (requires devtools installation): R devtools::install_github('jmpsteen/medflex')

Citation

If you're using this package, please cite our companion paper in Journal of Statistical Software (which is also available as a vignette to the package)

Steen, J., Loeys, T., Moerkerke, B., & Vansteelandt, S. (2017). medflex: An R Package for Flexible Mediation Analysis Using Natural Effect Models. Journal of Statistical Software, 76(11). doi:10.18637/jss.v076.i11

Owner

  • Login: jmpsteen
  • Kind: user

GitHub Events

Total
  • Watch event: 3
  • Fork event: 1
Last Year
  • Watch event: 3
  • Fork event: 1

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 84
  • Total Committers: 3
  • Avg Commits per committer: 28.0
  • Development Distribution Score (DDS): 0.25
Past Year
  • Commits: 4
  • Committers: 1
  • Avg Commits per committer: 4.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
jmpsteen j****n@g****m 63
jsteen j****n@u****e 20
Joscha Legewie j****e@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: over 2 years ago

All Time
  • Total issues: 27
  • Total pull requests: 1
  • Average time to close issues: 2 months
  • Average time to close pull requests: 6 days
  • Total issue authors: 21
  • Total pull request authors: 1
  • Average comments per issue: 1.3
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 4
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 4
  • Pull request authors: 0
  • Average comments per issue: 0.25
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jmpsteen (4)
  • dasiav7 (4)
  • anhthyngo (1)
  • laurapavicic (1)
  • grmurchison (1)
  • olivierISCIII (1)
  • Nume22 (1)
  • MikelSubiza (1)
  • heledi (1)
  • bernard-liew (1)
  • lhospina (1)
  • krisztianposch (1)
  • ellenxtan (1)
  • StuartWheater (1)
  • juliabenner (1)
Pull Request Authors
  • jlegewie (1)
Top Labels
Issue Labels
question (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 496 last-month
  • Total docker downloads: 23,504
  • Total dependent packages: 0
  • Total dependent repositories: 3
  • Total versions: 9
  • Total maintainers: 1
cran.r-project.org: medflex

Flexible Mediation Analysis Using Natural Effect Models

  • Versions: 9
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Downloads: 496 Last month
  • Docker Downloads: 23,504
Rankings
Docker downloads count: 0.6%
Forks count: 9.7%
Stargazers count: 13.4%
Average: 15.4%
Dependent repos count: 16.7%
Downloads: 22.8%
Dependent packages count: 29.0%
Maintainers (1)
Last synced: over 2 years ago

Dependencies

DESCRIPTION cran
  • R >= 3.1.2 depends
  • multcomp >= 1.3 depends
  • Matrix >= 1.1 imports
  • boot >= 1.3 imports
  • car >= 2.0 imports
  • graphics >= 3.1.2 imports
  • sandwich >= 2.3 imports
  • stats >= 3.1.2 imports
  • utils >= 3.1.2 imports
  • SuperLearner >= 2.0 suggests
  • VGAM >= 1.0 suggests
  • arm >= 1.7 suggests
  • gam >= 1.09.1 suggests
  • glmnet >= 1.9 suggests
  • mice >= 2.22 suggests
  • mitools >= 2.3 suggests
  • rpart >= 4.1 suggests