Learn R Programming

EpiModel (version 2.0.1)

get_formula_term_attr: Outputs ERGM Formula Attributes into a Character Vector

Description

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

Usage

get_formula_term_attr(form, nw)

Arguments

form

an ergm model formula

nw

a network object