Learn R Programming

EpiModel (version 2.0.1)

auto_update_attr: Updates 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

Master object in netsim simulations.

newNodes

Vector of nodal IDs for incoming nodes at the current time step.

curr.tab

Current proportional distribution of all vertex attributes.

See Also

copy_nwattr_to_datattr, get_attr_prop, auto_update_attr.