Learn R Programming

EpiModel (version 2.5.0)

dcm.mods: Deterministic Compartmental Model Functions

Description

These functions parameterize the base deterministic compartmental models solved using the dcm function.

Usage

mod_SI_1g_cl(t, t0, parms)

mod_SI_1g_op(t, t0, parms)

mod_SI_2g_cl(t, t0, parms)

mod_SI_2g_op(t, t0, parms)

mod_SIR_1g_cl(t, t0, parms)

mod_SIR_1g_op(t, t0, parms)

mod_SIR_2g_cl(t, t0, parms)

mod_SIR_2g_op(t, t0, parms)

mod_SIS_1g_cl(t, t0, parms)

mod_SIS_1g_op(t, t0, parms)

mod_SIS_2g_cl(t, t0, parms)

mod_SIS_2g_op(t, t0, parms)

Arguments

t

Time vector, passed into model function internally through dcm via the control settings in control.dcm.

t0

Initial conditions for model, passed into model function internally through dcm via the initial conditions in init.dcm.

parms

Model parameters, passed into model function internally through dcm via the parameter settings in param.dcm.

Details

This help page shows the names of all the base deterministic compartmental model functions supported in EpiModel. Base models are those already programmed interally within the software. The model functions may be printed to see their internal structure, either directly on the console or by using the print.mod argument in control.dcm.

The naming convention for the models listed here follows the format: mod_<disease type>_<number of groups>_<vital dynamics>. The supported disease types are SI, SIS, and SIR; the number of groups are 1 or 2; and the vital dynamic options are closed (fixed population composition) or open (with arrivals and departures).