Supplement 1. Demonstration Mathematica code used to generate the model-based figures for this paper, together with Matlab code used in exploratory analyses.

File List

Figure3.nb (MD5: 20d1058537efec4c066cefc4eb5c5a62)

Demo code for Figures 4 and 5.nb (MD5: c01d41b592a5722a95f9d94c4f3114cb)

Figure6.nb (MD5: b954500fa5fdb7741bd7861138ca61f3)

runmodel.m (MD5: 9a8b5b6e18dee79265f74c36d175075f)

Derivsub_ratio.m (MD5: 7fd3899e02de98977cdb02e9faee3013)

Description

Figure 3.nb – Mathematica code used to generate the isoclines shown in Fig. 3.

Demo code for Figures 4 and 5.nb – Example Mathematica code used to generate the equilibria shown in Figs. 4 and 5; to generate the other equilibria, use the appropriate parameter combinations

Figure 6.nb – Mathematica code used to generate Fig. 6 and related figures used in exploring the joint effects of the maximum P recycling rate r and the loss rate s.

Runmodel.m – Demonstration Matlab code used to explore model results using simulations

Derivsub_ratio.m – sub program called by runmodel.m