R script from Pattern and process in hominin brain size evolution are scale-dependent

R script for (1) running the variance partitioning analyses to get inter-observer error, (2) the clade-level evolutionary mode analysis, (3) calculating R2 and model parameters from the gradualism model, and (4) the lower-level additive partitioning analyses. To run the R script, make sure the file is in the same folder as the main dataset (first saved as a csv file).