Description Usage Arguments Value Examples
rSEIQR
returns a matrix contains information about time, number of susceptible people, exposed people, infected people,
quarantined people, recover people, total number of people.
1 2 3 4 5 6 7 8 9 10 |
N0 |
An integer. The population size at time 0. |
S0 |
An integer. The initial number of susceptible people. |
E0 |
An integer. The initial number of exposed people. |
I0 |
An integer. The initial number of infected people. |
Q0 |
An integer. The initial number of quarantined people. |
R0 |
An integer. The initial number of recovered people. |
days |
An integer. The number of days for which to simulate. |
pars |
A numeric vector: (a.rate, e.rate, i.rate, q.rate, r.rate, pE, pSR, pIm).
Description about pars
* |
A numeric matrix with 7 columns. Row i contains the values of (t, S_t, E_t, I_t, Q_t, R_t, N_t) at time t.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.