*Corresponding Author - christopher@greyson-gaito.com
- Department of Integrative Biology, University of Guelph, Guelph, ON, Canada, N1G 2W1
- Department of Food, Agriculture & Resource Economics, University of Guelph, Guelph, ON, Canada, N1G 2W1
- CJGG – 0000-0001-8716-0290
- AW – 0000-0001-5081-3593
- KSM – 0000-0001-6031-7913
- figs – empty folder for figures to be placed (created in AgriEco_figures.jl)
- scripts
- packages.jl – list of packages required (file used in other scripts)
- AgriEco_commoncode.jl – functions used in simulations and producing figures
- AgriEco_positivefeedbacks.jl – creation of positive feedbacks data
- AgriEco_timedelay.jl – creation of time delay data
- AgriEco_figures.jl – script to create all figures
- .gitignore – file containing files and folders that git should ignore
- LICENSE.txt – CC by 4.0 License for this repository
- README.md – this file
- Download the GitHub/Zenodo repo
- Open the repo in Visual Studio Code (if you haven't already done so, set up Julia in Visual Studio Code)
- Most of the analysis here requires multiple cores. Thus to set up multiple cores on your computer, in Visual Studio Code find the Julia: Num Threads setting in the Extension Settings of the Visual Studio Code Julia Extension. Change this setting to at most the number of logical cores in your computer. Restart Julia. All parallel computing will run automatically regardless of the number of cores selected.
- Run scripts/AgriEco_positivefeedbacks.jl and scripts/AgriEco_timedelay.jl to create the date required for scripts/AgriEco_figures.jl. Note, depending on the number of cores in your computer, this may take a some time.
- Run scripts/AgriEco_figures.jl to produce the figures in the manuscript.