afterpeak_info.rSEIR: New S3 method for gathering information from stochastic SEIR...

Description Usage Arguments Value 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 'rSEIR'
afterpeak_info(x)

Arguments

x

the output from simulation

Value

A information list

Examples

1
2
3
model1 <- rSEIR(N0 = 1000, I0 = 0, S0 = 999, R0 = 0, E0 = 1,
                days = 300, pars = c(1/12, 1, 1/4, 1/5, 0.3, 0.2, 0.7))
afterpeak_info(model1)

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