auto_update_attr: Update Vertex Attributes for Incoming Vertices

View source: R/net.utils.R

auto_update_attrR 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 netsim_dat object containing a networkDynamic object and other initialization information passed from netsim.

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.


EpiModel documentation built on July 9, 2023, 5:21 p.m.