Learn R Programming

ergm (version 4.7.1)

NodematchFilter-ergmTerm: Filtering on nodematch

Description

Evaluates the terms specified in formula on a network constructed by taking \(y\) and removing any edges for which attrname(i)!=attrname(j) .

Usage

# binary: NodematchFilter(formula, attrname)

Arguments

formula

formula to be evaluated

attrname

a character vector giving one or more names of attributes in the network's vertex attribute list.

See Also

ergmTerm for index of model terms currently visible to the package.

ergm:::.formatTermKeywords("ergmTerm", "NodematchFilter", "subsection")