afterpeak_info.rSEIQR: New S3 method for gathering information from stochastic SEIQR...

Description Usage Arguments Examples

View source: R/afterpeak_info.R

Description

afterpeak_info returns the peak information and time of infected reducing to certain level after the peak

Usage

1
2
## S3 method for class 'rSEIQR'
afterpeak_info(x)

Arguments

x

the output from simulation

Examples

1
2
3
model1 <- rSEIQR(N0 = 100, S0 = 99, E0 = 1 ,I0 = 0, Q0 = 0, R0 = 0,
                 days = 100,  pars = c(1/12, 1, 0.5, 0.15, 0.04, 0, 0, 1))
afterpeak_info(model1)

jessseliu/epidmod documentation built on Sept. 15, 2020, 8:53 p.m.