Learn R Programming

R0 (version 1.2-6)

sim.epid.indiv: Influenza-like illness simulation (individual-based model)

Description

Generates several epidemic curves on a individual-based model

Usage

sim.epid.indiv(beta, Tmax, n = 1, family = "poisson", negbin.size = NULL)

Arguments

beta
Contact rate in the SEIR model.
Tmax
Maximum length of the epidemic (cases infected after this length will be truncated).
n
Number of epidemics to be simulated (default is 1)
family
Distribution of offspring (default is "poisson").
negbin.size
If family is set to "negbin", sets the size parameter of the negative binomial distribution.

Value