Files for Global Ecology and Biogeography paper "Local temperature and ecological similarity drive distributional dynamics of tropical mammals worldwide" by Beaudrot, Acevedo, Lessard et al.
This repo contains everything necessary to recreate the results and figures in our publication.
Formatted data and the main analysis file (Unmarked_Colext_Analysis_Simple.R) are in the folder "Occupancy Modelling". The file "BIOTIC_Include.RData" is the ecological similarity covariate data, which was calculated using the files in the folder "FPDist Calculation"
The folder "Results" has the output of colext model selection. There are two summary results files that have the best model and null model results for each population. There is an additional folder containing all model results for each individual population.
Code to produce figures 2-5 is in the folder "Figures"