Return the Cumulative Degree of a Set of Index Nodes
Usage
get_cumulative_degree(
dat,
index_posit_ids,
networks = NULL,
truncate = Inf,
only.active.nodes = FALSE
)
Arguments
- dat
Main
netsim_dat
object containing anetworkDynamic
object and other initialization information passed fromnetsim
.- index_posit_ids
The positional IDs of the indexes of interest.
- networks
Numerical indexes of the networks to extract the partnerships from. (May be > 1 for models with multi-layer networks.) If
NULL
, extract from all networks.- truncate
After how many time steps a partnership that is no longer active should be removed from the output.
- only.active.nodes
If
TRUE
, then inactive (e.g., deceased) partners will be removed from the output.