Description Usage Arguments Value Examples
A function that calculates how many individuals transition out of a state
1 | update_state(n, prob)
|
n |
An integer number of draws. |
prob |
A probability of transitioning. |
Number of individuals leaving state.
1 | update_state(100, 0.3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.