EpiModel_agg_bd: EpiModel_agg_bd Example output from the 'EpiModel' package...

Description Usage Format Examples

Description

This data is made from the SIR DCM/ICM example in the EpiModel vignette found here. We run the discrete compartmental model (DCM) for 300 steps and set the birth and death rates (a.rate, ds.rate, di.rate, dr.rate) to .02. This is object is of class icm. The output details can be found with ?EpiModel::icm.

Usage

1

Format

a dcm object from the EpiModel package. This contains the following elements:

param

the epidemic parameters passed into the model through param, with additional parameters added as necessary.

control

the control settings passed into the model through control, with additional controls added as necessary.

epi

a list of data frames, one for each epidemiological output from the model. Outputs for base models always include the size of each compartment, as well as flows in, out of, and between compartments.

Examples

1
2
3
4
5
## Look at structure
str(EpiModel_agg_bd)

## Look at SIR values
head(do.call('cbind', EpiModel_agg_bd$epi[c("s.num", "i.num", "r.num")]))

skgallagher/EpiCompare documentation built on Sept. 14, 2021, 5:45 a.m.