National Institute for Health and Care Research

Mediation: Package for Causal Mediation Analysis

R package ‘mediation’ for conducting causal mediation analysis.

Paper supporting the R package “mediation” that includes an explanation of the theory and practice for using this methodology through this package in R.

Back to Top