Description Usage Arguments Value Examples
This is needed to execute the update_dots and simulate_dots functions
1 2 | set_params(size = 250, numinf = 2, movement = 10, inf_dist = 25,
recover = 14, beta = 0.5, power = 0.9, offset = 10)
|
size |
The size of the space within which the dots can move. |
numinf |
The number of dots to infect |
movement |
The maximum distance that dots can move during one generation |
inf_dist |
The maximum distance that an infected dot can transmit the disease |
recover |
The average number of generations before recovering after infection |
beta |
Transmission parameter |
power |
Kernel parameter |
offset |
Kernel parameter |
A vector containing the parameter values
1 | params = set_params()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.