PCA_Matching R script for identifying x controls within t distance of each case based on weighted PCA data. An updated version of this code has been prepared by Dr Gabriel Doctor and can be accessed here: https://github.com/gtdoctor/PCA_Matching/tree/update_may24.