Description Usage Arguments Value References
The function that solves the SEIR system of differential equations.
1 2 3 4 5 6 7 8 |
t |
Time value to evaluate the derivatives. |
y |
The vector is variable of interest: S, E, I and R. |
y0 |
Initial Values |
sigma |
Parameter. |
gamma |
Parameter. |
c |
Mutation Parameter |
h |
Step size for the RK4 method |
T |
Final t |
r0 |
Matrix of breaking points for R-Zero. The first column is the time of the breaking points, and the second is the values of the R-zero. |
type |
Types of R-Zero function. The default is a linear interpolation and the second is a piecewise constant function. |
It returns an object of class "seir"
Wang, H., Wang, Z., Dong, Y. et al (2020), Phase-adjusted estimation of the number of Coronavirus Disease 2019 cases in Wuhan, China. Cell Discov, 6, 10.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.