mediation (R package) https://cran.r-project.org/web/packages/mediation/vignettes/mediation.pdf A R package for Mediation analysis.