R code to fit the unified model

This ZIP file contains 5 files needed to fit the unified model to the data in the CSV files (or similar data, formatted in the same way), to conduct parametric bootstrap goodness-of-fit testing, and to generate out-of-sample predictions of unshared species.