Description Usage Arguments Value Examples
rSEIQHRF
returns a matrix contains information about time, number of susceptible people, exposed people, infected people,
recover people, total number of people.
1 2 3 4 5 6 7 8 9 10 11 12 |
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. |
H0 |
An integer. The initial number of people require hospitalization. |
R0 |
An integer. The initial number of recovered people. |
F0 |
An integer. The initial number of case fatality. |
days |
An integer. The number of days for which to simulate. |
pars |
A numeric vector: (a.rate, e.rate, i.rate, h1.rate, q.rate, h2.rate, r1.rate, r2.rate, r3.rate, f.rate, pE, pSR, pIim, pQim, pHim).
#' Description about pars
* |
A numeric matrix with 10 columns. Row i contains the values of (t, S_t, E_t, I_t, Q_t, H_t, R_t, F_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.