m2star-ergmTerm | R Documentation |
This term adds one statistic to the model, equal to the number of mixed
2-stars in the network, where a mixed 2-star is a pair of distinct edges
(i{\rightarrow}j), (j{\rightarrow}k)
. A mixed 2-star is
sometimes called a 2-path because it is a directed path of length 2 from
i
to k
via j
. However, in the case of a 2-path the focus
is usually on the endpoints i
and k
, whereas for a mixed 2-star
the focus is usually on the midpoint j
. This term can only be used
with directed networks; for undirected networks see kstar(2)
. See
also twopath
.
# binary: m2star
ergmTerm
for index of model terms currently visible to the package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.