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