Description Usage Arguments Details Value Author(s)
simple two-probability model
1 | spreadP2(pSI = 0.8, pIR = 0.2, stepsize = 1)
|
pSI |
infection probability |
pIR |
recovery probability |
stepsize |
size of time step |
creates a spreader function with an infection probability and a recovery probability
a spreader function that uses the probabilities on each edge to proceed with the infection process.
Barry S Rowlingson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.