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

Description Usage Arguments Examples

View source: R/IR_info.R

Description

IR_info returns the simulated information at a given infected proportionfor SIR model

Usage

1
IR_info(x, y)

Arguments

x

the output from simulation

y

the input infected proportion

Examples

1
2
model1 <- rSIR (N0 = 1000, I0 = 0, S0 = 1000, days = 300, pars = c(1/10, 1, 1/5, 0.1, 0.1))
IR_info(model1, 0.7)

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