Learn R Programming

EpiModel (version 1.8.0)

get_prev.net: Get Epidemic Output from netsim Model

Description

Provides all active model state sizes from the network at the specified time step, output to a list of vectors.

Usage

get_prev.net(dat, at)

Arguments

dat

Master list object containing a networkDynamic object and other initialization information passed from netsim.

at

Current time step.

Details

This network utility is used during the netsim simulation process to efficiently query the current size of each state or compartment in the model at any given timestep. For a bipartite network, the current state size for each mode, and overall is provided.