afterpeak_info.rSEIQHRF: New S3 method for gathering information from stochastic...

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 'rSEIQHRF'
afterpeak_info(x)

Arguments

x

the output from simulation

Examples

1
2
3
4
para <- c(4,2,1,2,1,3,1,2,1,2,0.9, 0.3, 0.4,0.1, 0.1)
model1 <- rSEIQHRF(N0 = 1000, S0 = 999, E0 = 1, I0 = 0, Q0 = 0,
                   H0 = 0, R0 = 0, F0 = 0, days = 300, pars = para )))
afterpeak_info(model1)

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