Learn R Programming

EpiModel (version 2.5.0)

depart_nodes: Depart Nodes from the netsim_dat Object

Description

Depart Nodes from the netsim_dat Object

Usage

depart_nodes(dat, departures)

Value

the updated netsim_dat object with the nodes in departures departed

Arguments

dat

the netsim_dat object

departures

the vertex ids of nodes to depart

Details

If tergmLite is FALSE, the vertex ids departures are deactivated (from the current timestep onward) in each networkDynamic stored in dat$nw. If tergmLite is TRUE, the vertex ids departures are deleted from dat$el, dat$attr, and dat$net_attr.