R scripts used for PREDICTS_WDPA analysis