Description Usage Arguments Value
Simulates the initial number of susceptible and infected individuals from independent Poisson initial distributions.
1 | simInit(n, startState)
|
n |
Number of particles |
startState |
Numeric vector of size two containing the means of initial distributions for the numbers of susceptible and infected individuals respectively |
Matrix of dimension n by 2, where each row is the initial state for a particle trajectory
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.