Convert Unique Identifiers to/from Positional Identifiers
Source:R/net.accessor.R
unique_id-tools.Rd
EpiModel refers to its nodes either by positional identifiers
(posit_ids
), which describe the position of a node in the
attr
vector, or by unique identifiers
(unique_ids
), which allow references to nodes even after
they are deactivated.
Arguments
- dat
Main
netsim_dat
object containing anetworkDynamic
object and other initialization information passed fromnetsim
.- posit_ids
A vector of node positional identifiers (default = NULL).
- unique_ids
A vector of node unique identifiers (default = NULL).