Learn R Programming

EpiModel (version 2.5.0)

get_formula_term_attr: Output ERGM Formula Attributes into a Character Vector

Description

Given a formation formula for a network model, outputs a character vector of vertex attributes to be used in netsim simulations.

Usage

get_formula_term_attr(form, nw)

Value

A character vector of vertex attributes.

Arguments

form

An ERGM model formula.

nw

A network object.