mindegree-ergmTerm-eabdf279: Minimum Degree

mindegree-ergmTermR Documentation

Minimum Degree

Description

This term adds one network statistic to the model being the number of nodes in the network of at least degree mindeg. That is, the statistic equals the number of nodes in the network with mindeg or more edges. This term can only be used with undirected networks.

Usage

# binary: mindegree(mindeg, by=NULL)

Arguments

mindeg

an integer giving the

by

an optional argument specifying a vertex attribute (see Specifying Vertex attributes and Levels (?nodal_attributes) for details). If this is specified, then degrees are calculated using the subnetwork consisting of only edges whose endpoints have the same value of the by attribute.

Details

This InitErgmTerm function is for the mindegree term described by

Hunter DR, Goodreau SM, Handcock MS (2013). ergm.userterms: A Template Package for Extending statnet, Journal of Statistical Software 52(2), 1-25, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v052.i02")}.

It has been further updated to use the latest ergm APIs and conventions.

See Also

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

\Sexpr[results=rd,stage=render]{ergm:::.formatTermKeywords("ergmTerm", "mindegree", "subsection")}

statnet/ergm.userterms documentation built on June 11, 2025, 4:02 p.m.