update_unique_ids {EpiModel} | R Documentation |
Create the Unique Identifiers for New Nodes
Description
This function is called by append_core_attr
and
appends new unique_ids
to the created nodes. It also keeps track of
the already used unique_ids
with the dat[["_last_unique_id"]]
variable.
Usage
update_unique_ids(dat, n.new)
Arguments
dat |
Main |
n.new |
The number of new nodes to give |
Value
The updated netsim_dat
main list object.
[Package EpiModel version 2.4.0 Index]