ostar-ergmTerm {ergm} | R Documentation |
k-Outstars
Description
This term adds one network statistic to the
model for each element in k
. The th such statistic counts the
number of distinct
k[i]
-outstars in the network, where a
-outstar is defined to be a node
and a set of
different nodes
such that the ties
exist for
.
This term can only be used with directed
networks; for undirected networks see
kstar
.
Usage
# binary: ostar(k, attr=NULL, levels=NULL)
Arguments
k |
a vector of distinct integers |
attr , levels |
a vertex attribute specification; if |
Note
ostar(1)
is equal to both istar(1)
and edges
.
See Also
ergmTerm
for index of model terms currently visible to the package.
Keywords
categorical nodal attribute, directed, binary