Randomly selects an event weighted by their rates, runs the event and then calculates a waiting time.
1 |
pop |
A population object |
t |
Time step. Note the population should be AT time t, going to t+1. |
tMod |
Time step modulus the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.