ergm_edgecov_args {ergm}R Documentation

A common pattern for obtaining an edge covariate

Description

A common pattern for obtaining an edge covariate

Usage

ergm_edgecov_args(name, nw, a)

Arguments

name

a string containing the name of the calling term.

nw

the LHS network.

a

list returned by check.ErgmTerm().

Value

A list with two elements: xm for the obtained predictor matrix and cn for the standard coefficient name.


[Package ergm version 4.7.5 Index]