arrive_nodes {EpiModel} | R Documentation |
Arrive New Nodes to the netsim_dat Object
Description
Arrive New Nodes to the netsim_dat Object
Usage
arrive_nodes(dat, nArrivals)
Arguments
dat |
the |
nArrivals |
number of new nodes to arrive |
Details
nArrivals
new nodes are added to the network data stored on
the netsim_dat
object. If tergmLite
is FALSE
, these
nodes are activated from the current timestep onward. Attributes for the new
nodes must be set separately.
Note that this function only supports arriving new nodes; returning to an active state nodes that were previously active in the network is not supported.
Value
the updated netsim_dat
object with nArrivals
new nodes
added
[Package EpiModel version 2.4.0 Index]