Rigdon, J., Baiocchi, M., & Basu, S. (2018). Near-Far Matching in R: The nearfar Package. Journal of Statistical Software, Code Snippets, 86(5), 1–21. https://doi.org/10.18637/jss.v086.c05