Steen, J., Loeys, T., Moerkerke, B. and Vansteelandt, S. (2017) “medflex: An R Package for Flexible Mediation Analysis using Natural Effect Models”, Journal of Statistical Software, 76(11), pp. 1–46. doi: 10.18637/jss.v076.i11.