arrive_nodes: Arrive New Nodes to the netsim_dat Object

View source: R/update.R

arrive_nodesR 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 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.

Value

the updated netsim_dat object with nArrivals new nodes added


statnet/EpiModel documentation built on April 26, 2024, 3:23 a.m.