Preserve values of dyads incident on vertices with attribute attr
being TRUE
or if attrname
is NULL
, the vertex attribute "na"
being FALSE
.
# egocentric(attr=NULL, direction="both")
a vertex attribute specification (see Specifying Vertex attributes and Levels (?nodal_attributes
) for details.)
one of "both"
, "out"
and "in"
, only applies to directed networks. "out"
only preserves the out-dyads of those actors and "in"
preserves their in-dyads.
ergmConstraint
for index of constraints and hints currently visible to the package.
ergm:::.formatTermKeywords("ergmConstraint", "egocentric", "subsection")