ttriple-ergmTerm {ergm} | R Documentation |
Transitive triples
Description
By default, this term adds one statistic to the model, equal to the number of transitive
triples in the network, defined as a set of edges \{(i{\rightarrow}j),
j{\rightarrow}k), (i{\rightarrow}k)\}
. Note that
triangle
equals ttriple+ctriple
for a directed network, so at
most two of the three terms can be in a model.
Usage
# binary: ttriple(attr=NULL, diff=FALSE, levels=NULL)
# binary: ttriad
Arguments
attr |
a vertex attribute specification (see Specifying Vertex attributes and Levels ( |
diff |
If |
levels |
add one statistic for each value specified if |
Note
This term can only be used with directed networks.
See Also
ergmTerm
for index of model terms currently visible to the package.
Keywords
categorical nodal attribute, directed, triad-related, binary