smalldiff-ergmTerm-11cc89ad: Number of ties between actors with similar attribute values

smalldiff-ergmTermR Documentation

Number of ties between actors with similar attribute values

Description

This term adds one statistic, having as its value the number of edges in the network for which the incident actors' attribute values differ less than cutoff ; that is, number of edges between i to j such that abs(attr[i]-attr[j])<cutoff .

Usage

# binary: smalldiff(attr, cutoff)

Arguments

attr

a vertex attribute specification (see Specifying Vertex attributes and Levels (?nodal_attributes) for details.)

maximum

difference in attribute values for ties to be considered

See Also

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

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

ergm documentation built on Oct. 7, 2024, 5:08 p.m.