set_transmat {EpiModel}R Documentation

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

Main netsim_dat object containing a networkDynamic object 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 main netsim_dat class object dat.

Value

The updated netsim_dat main list object.


[Package EpiModel version 2.4.0 Index]