Authors: Simon Garnier1 & Daniel Kronauer2
1Department of Biological Sciences, New Jersey Institute of Technology, Newark, NJ 07102, USA; [email protected]
2Laboratory of Social Evolution and Behavior, The Rockefeller University, New York, NY 10065, USA; [email protected]
You can download the full accompanying material at the following address: https://github.com/sjmgarnier/projectSyncedReproduction/archive/master.zip
The code for generating the results and figures can be found as an R Notebook in the "notebooks/MethodsAndResults/" folder. The custom R functions used in the notebook can be found in the "R/" folder.
The code for simplifying the equations and generating the integral of the function combining the reproductive strategy with the foraging cost can be found as a Mathematica Notebook in the "mathematica/" folder.