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

Description Usage Arguments Examples

View source: R/IR_info.R

Description

IR_info returns the simulated information at a given infected proportion for SEIQHRF model

Usage

1
2
## S3 method for class 'rSEIQHRF'
IR_info(x, y)

Arguments

x

the output from simulation

y

the input infected proportion

Examples

1
2
3
4
para <- c( 1/10,  10, 0.01,  0.02, 0.2, 0.01, 1/20, 1/15, 1/30, 1/1000, 0.01, 0.2, 0.01, 0.02, 0.03)
model4 <-rSEIQHRF(N0 = 500, S0 = 497, E0 = 0, I0 = 3, Q0 = 0, H0 = 0,
                R0 = 0, F0 = 0, days = 365, pars = para )
IR_info(model1, 0.001)

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