EpiModel_det: EpiModel_det Example output from the 'EpiModel' package for a...

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 zero. This is object is of class dcm. The output details can be found with ?EpiModel::dcm.

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_det)

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

skgallagher/EpiCompare documentation built on Sept. 16, 2020, 3:46 a.m.