Rigdon, Joseph, Michael Baiocchi, and Sanjay Basu. “Near-Far Matching in R: The Nearfar Package”. Journal of Statistical Software, Code Snippets 86, no. 5 (September 3, 2018): 1–21. Accessed December 9, 2021. https://www.jstatsoft.org/index.php/jss/article/view/v086c05.