depart_nodes {EpiModel} | R Documentation |
Depart Nodes from the netsim_dat Object
Description
Depart Nodes from the netsim_dat Object
Usage
depart_nodes(dat, departures)
Arguments
dat |
the |
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
.
Value
the updated netsim_dat
object with the nodes in
departures
departed
[Package EpiModel version 2.4.0 Index]