Code for the analysis in Fenton et al (2016) PLoS ONE
DOI: http://dx.doi.org/10.1371/journal.pone.0165522
This is the working version. A tidier, finished version of this code, and the data required to run the analysis, is available at https://doi.org/10.5519/0036305