Description Usage Arguments Details Value Examples
This will randomly place and seed the dots before simulating an epidemic.
1 | simulate_dots(data, p, cont_plot = T)
|
data |
The dataset containing the dots information |
p |
Transmission kernel parameters |
cont_plot |
Logical. If TRUE, the plot will be updated for every generation. If FALSE, only a plot of the beginning and of the end of the epidemic will be generated. |
The epidemic will end either when all the dots are infected, or when there are no more infected.
An updated dataset and plots of the dots.
1 | dots_data = simulate_dots(data=dots_data, p=params, cont_plot=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.