Description Usage Arguments Value Examples
Updates the status of the dots (Susceptible, Infected or Recovered)
1 | update_dots(data, gen = 0, p)
|
data |
The dataset containing the dots information |
gen |
Current generation of the epidemic |
p |
Transmission kernel parameters. These must have been created using the set_params function. |
An updated dataset
1 | dots_data = update_dots(data=dots_data, gen=0, p=params)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.