Learn R Programming

EpiModel (version 1.8.0)

get_attr_prop: Proportional Table of Vertex Attributes

Description

Calculates the proportional distribution of each vertex attribute contained on the network, with a possible limitation to those attributes contained in the formation formula only.

Usage

get_attr_prop(nw, fterms, only.formula = TRUE)

Arguments

nw

The networkDynamic object contained in the netsim simulation.

fterms

Vector of attributes used in formation formula, usually as output of get_formula_term_attr.

only.formula

Limit the tables to those terms only in fterms, otherwise output proportions for all attributes on the network object.

See Also

get_formula_term_attr, copy_toall_attr, update_nwattr.