R code from Speed-mediated properties of schooling

Code used for statistical analysis