Learn R Programming

EpiModel (version 2.5.0)

get_attr_prop: Proportional Table of Vertex Attributes

Description

Calculates the proportional distribution of each vertex attribute contained in a network.

Usage

get_attr_prop(dat, nwterms)

Value

A table containing the proportional distribution of each attribute in nwterms.

Arguments

dat

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

nwterms

Vector of attributes on the network object, usually as output of get_formula_term_attr.

See Also

get_formula_term_attr, copy_nwattr_to_datattr, auto_update_attr.