Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.83 KB

README.md

File metadata and controls

22 lines (15 loc) · 1.83 KB

human-footprint-index-VBD

Code for: Human footprint is associated with shifts in assemblages of major vector-borne diseases. 2022. Skinner EB, Glidden CK, MacDonald AJ, Mordecai EA. Nature Sustainability: accepted. Code written by Caroline K. Glidden & Eloise B. Skinner

This github contains the following R files:

  1. spatiotemporal_cv.R : code to perform spatiotemporal cross-validation for each model included in the manuscript
  2. bootstrapping_pdps.R: code to build partial dependence plots and calculate inflection points, with variablility in pdps and confidence intervals calculated via bootstrapping
  3. variable_importance.R: code to build variable importance plots and tables for each model in the manuscript

The data (full_data.csv) includes the following columns:

Brazil municipality shapefiles for data cleaning and building figures were downloaded from: https://www.ibge.gov.br/en/geosciences/territorial-organization/territorial-meshes/18890-municipal-mesh.html?=&t=acesso-ao-produto