ergm_edgecov_args: A common pattern for obtaining an edge covariate

View source: R/InitErgmTerm.R

ergm_edgecov_argsR 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.


ergm documentation built on May 31, 2023, 8:04 p.m.