auto_update_attr {EpiModel} | R Documentation |
Update Vertex Attributes for Incoming Vertices
Description
Updates the vertex attributes on a network for new nodes
incoming into that network, based on a set of rules for each
attribute that the user specifies in control.net
.
Usage
auto_update_attr(dat, newNodes, curr.tab)
Arguments
dat |
Main |
newNodes |
Vector of nodal IDs for incoming nodes at the current time step. |
curr.tab |
Current proportional distribution of all vertex attributes. |
Value
The updated netsim_dat
main list object.
See Also
copy_nwattr_to_datattr
, get_attr_prop
,
auto_update_attr
.
[Package EpiModel version 2.4.0 Index]