##################################################################### This deposit contains 3 files that provide the code for the simulation models described in Currie et al. "The Cultural Evolution & Ecology of Institutions" published in Phil Trans Roy Soc B 10.1098/rstb.2020.0047 evolution_of_social_institutions_Phil_Trans_B_2020.nlogo - main NetLogo version of the model sensitivity_analysis_and_plots_for_nlogo_model.r - R code for creating the plots from the NetLogo model ABM_institutions.r - a simpler version of the model developed in R to check that model dynamics are robust to implementation in different programming languages