Learn R Programming

EpiModel (version 2.5.0)

summary_nets: Extract Summary Statistics of Networks Used in netsim

Description

This function calls summary on each network being simulated in netsim, provided save.nwstats and resimulate.network are both TRUE. It records the statistics represented by nwstats.formula in dat$stats$nwstats, where dat is the main netsim_dat class object.

Usage

summary_nets(dat, at)

Value

The updated netsim_dat main list object.

Arguments

dat

Main netsim_dat object containing a networkDynamic object and other initialization information passed from netsim.

at

Current time step.