egocentric-ergmConstraint {ergm} | R Documentation |
Preserve values of dyads incident on vertices with given attribute
Description
Preserve values of dyads incident on vertices with attribute attr
being TRUE
or if attrname
is NULL
, the vertex attribute "na"
being FALSE
.
Usage
# egocentric(attr=NULL, direction="both")
Arguments
attr |
a vertex attribute specification (see Specifying Vertex attributes and Levels ( |
direction |
one of |
See Also
ergmConstraint
for index of constraints and hints currently visible to the package.
Keywords
directed, dyad-independent, undirected
[Package ergm version 4.6.0 Index]