Theoretical assessment of persistence and adaptation in weeds with complex life cycles This repository contains the codes pertaining to the simulations and figures of the paper by Lauenroth & Gokhale