mutual-ergmTerm {ergm} | R Documentation |
Mutuality
Description
In binary ERGMs, equal to the number of
pairs of actors and
for which
and
both exist. For valued ERGMs, equal to
,
where
is determined by
form
argument: "min"
for ,
"nabsdiff"
for
,
"product"
for
, and
"geometric"
for
. See Krivitsky (2012) for a
discussion of these statistics.
form="threshold"
simply
computes the binary mutuality
after
thresholding at threshold
.
This term can only be used with directed networks.
Usage
# binary: mutual(same=NULL, by=NULL, diff=FALSE, keep=NULL, levels=NULL)
# valued: mutual(form="min",threshold=0)
Arguments
same |
if the optional argument is passed
(see Specifying Vertex attributes and Levels ( |
by |
if the optional argument is passed (see Specifying Vertex attributes and Levels ( |
keep |
deprecated |
levels |
which statistics should be kept whenever the |
form |
character how to aggregate tie values in a valued ERGM |
Note
The argument keep
is retained for backwards compatibility and may be
removed in a future version. When both keep
and levels
are passed,
levels
overrides keep
.
See Also
ergmTerm
for index of model terms currently visible to the package.
Keywords
directed, frequently-used, binary, valued