Learn R Programming

EpiModel (version 2.5.0)

arrive_nodes: Arrive New Nodes to the netsim_dat Object

Description

Arrive New Nodes to the netsim_dat Object

Usage

arrive_nodes(dat, nArrivals)

Value

the updated netsim_dat object with nArrivals new nodes added

Arguments

dat

the netsim_dat object

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.