Learn R Programming

EpiModel (version 2.0.1)

set_transmat: Save Transmission Matrix

Description

This function appends the transmission matrix created during infection.net and infection.2g.net.

Usage

set_transmat(dat, del, at)

Arguments

dat

Master list object containing a networkDynamic object or edgelist (if tergmLite is used) and other initialization information passed from netsim.

del

Discordant edgelist created within infection.net and infection.2g.net.

at

Current time step.

Details

This internal function works within the parent infection.net functions to save the transmission matrix created at time step at to the master list object dat.