This repository contains the code and data for Buffalo (2021), Why do species get a thin slice of π? Revisiting Lewontin’s Paradox of Variation.
-
data
: contains the data from other papers I have used, as well as all of the code to collate these data sources, estimate species ranges and population sizes, and create the final clean combined datasets. See theREADME.md
file there for details; theMakefile
in this repository generates all required datasets (note, for efficiency, there is a lot of caching that occurs). -
notebooks/
: contains the main analysis Rmarkdown file (main_analysis.Rmd
). This document contains the primary analyses used in the paper. -
notebooks/figures/
: contains the R code for each figure. TheMakefile
in this repository creates these figures.