Supplement 1. R script for conducting the simulation described in the main text.

<h2>File List</h2><div> <p><a href="simulation_fixed.R">simulation_fixed.R</a> (MD5: 65a3878774941b6884f579ff655bc83a)</p> <p><a href="simulation_random.R">simulation_random.R</a> (MD5: add7dc7b4a54cb6c37a73dcea0c40d19)</p> <p><a href="simulation_la_nina_proportional.R">simulation_la_nina_proportional.R</a> (MD5: f61586afd0e8e33b8a80602cb9a18cf0)</p> <p><a href="simulation_la_nina_arid.R">simulation_la_nina_arid.R</a> (MD5: 852ca820712991952f6579b332f1d9b3)</p> </div><h2>Description</h2><div> <p>The four R codes listed allow conducting the simulations respectively described as the Fixed pattern, the random pattern, the La Nina pattern (proportional) and the La Nina pattern (arid) in the main text. Scripts allow the extraction of the data for the last 25 steps (years) of the simulation, out of 100.</p> </div>