checkRates {genSEIR} | R Documentation |
Check Rates
Description
This function compares the fitted and calculated death and recovered ratios. The idea is to check whether the approximation of these ratios is appropriate.
Usage
checkRates(time, Q, R, D, kappaFun, lambdaFun, kappa, lambda, dt = 1)
Arguments
time |
time vector |
Q |
time histories of the quarantined/active cases |
R |
time histories of the recovered cases |
D |
time histories of the deceased cases |
kappaFun |
anonymous function approximating the death rate |
lambdaFun |
anonymous function approximating the recovery rate |
kappa |
mortality rate |
lambda |
cure rate |
dt |
a time step, default is 1/24. This oversample time to ensure that the algorithm converges. |
Value
plots for death rate and recovery rate
Author(s)
Selcuk Korkmaz, selcukorkmaz@gmail.com
References
Peng, L., Yang, W., Zhang, D., Zhuge, C., Hong, L. 2020. “Epidemic analysis of COVID-19 in China by dynamical modeling”, arXiv preprint arXiv:2002.06563.
See Also
[Package genSEIR version 0.1.1 Index]