Computes direct and indirect effects (mediation analysis) with multiple potential mediators and various mediator-outcome models (linear, logistics, cox proportional hazards). The mediator structure does not need to be specified and confounders can be included in the model. The package has special functionality for computing mediation effects on the odds scale (useful for logistic models) and restricted mean scale (useful for the Cox proportional hazards model).
Package details |
|
---|---|
Author | James P Long |
Maintainer | <jplong@mdanderson.org> |
License | GPL (>= 2) |
Version | 0.1.0 |
URL | https://github.com/longjp/mediateR |
Package repository | View on GitHub |
Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.