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.


statnet/ergm documentation built on April 17, 2024, 12:21 p.m.