Description Usage Arguments Value Examples
A vectorized function of update_state()
1 | update_states(n, prob)
|
n |
An integer vector for the number of draws for each state. |
prob |
A probability of transitioning. |
Number of individuals leaving each state.
1 | update_states(c(50,100,20,30), 0.3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.