Data and R code for analyses in chapters 2 and 3 of: Savage, P. E. (Under contract). Comparative musicology: Evolution, universals, and the science of the world’s music. Oxford University Press. Preprint: https://doi.org/10.31234/osf.io/b36fm
To run, open the "SavageOUP.R" file and copy and past the code into in R or R Studio (modifying your working directory as necessary)