Learn R Programming

ergm (version 4.7.1)

ergm_edgecov_args: A common pattern for obtaining an edge covariate

Description

A common pattern for obtaining an edge covariate

Usage

ergm_edgecov_args(name, nw, a)

Value

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

Arguments

name

a string containing the name of the calling term.

nw

the LHS network.

a

list returned by check.ErgmTerm().