R scripts for performing co-occurrence analysis