Learn R Programming

EpiModel (version 2.5.0)

copy_nwattr_to_datattr: Copy Vertex Attributes From Network to netsim_dat List

Description

Copies the vertex attributes stored on the network object to the main attr list in the netsim_dat data object.

Usage

copy_nwattr_to_datattr(dat, nw)

Value

The updated netsim_dat main list object.

Arguments

dat

Main netsim_dat object containing a networkDynamic object and other initialization information passed from netsim.

nw

Network from which to copy vertex attributes.

See Also

get_formula_term_attr, get_attr_prop, auto_update_attr, and copy_datattr_to_nwattr.