Steen, J., T. Loeys, B. Moerkerke, and S. Vansteelandt. “Medflex: An R Package for Flexible Mediation Analysis Using Natural Effect Models”. Journal of Statistical Software, vol. 76, no. 11, Feb. 2017, pp. 1-46, doi:10.18637/jss.v076.i11.