Update a Cumulative Edgelist of the Specified Network
Source:R/edgelists.R
update_cumulative_edgelist.Rd
Update a Cumulative Edgelist of the Specified Network
Arguments
- dat
Main
netsim_dat
object containing anetworkDynamic
object and other initialization information passed fromnetsim
.- network
Numerical index of the network for which the cumulative edgelist will be updated. (May be > 1 for models with multiple overlapping networks.)
- truncate
After how many time steps a partnership that is no longer active should be removed from the output.
Truncation
To avoid storing a cumulative edgelist too long, the truncate
parameter defines a number of steps after which an edge that is no longer
active is truncated out of the cumulative edgelist.
When truncate = Inf
, no edges are ever removed. When
truncate = 0
, only the active edges are kept. You may want this
behavior to keep track of the active edges' start step.