Skip to main content
Advertisement

< Back to Article

Covasim: An agent-based model of COVID-19 dynamics and interventions

Fig 8

(A) Illustrative example of a single run of a Covasim simulation. Interventions (described in the text) are shown as dashed vertical lines. (B) Full listing of the code for this simulation, including defining the parameters of the simulation (lines 4–11); defining the interventions (lines 14–23); and creating, running, and plotting the simulation (lines 26–28).

Fig 8

doi: https://doi.org/10.1371/journal.pcbi.1009149.g008