This is the code accompanying the manuscript: Cui, Wenping, Robert Marsland III, and Pankaj Mehta. "The effect of resource dynamics on species packing in diverse ecosystems"
If you have any question about the code, please contact wenpingcui@gmail.com