By default, this term adds one statistic to the model, equal to the number of cyclic triples in the network, defined as a set of edges of the form \(\{(i{\rightarrow}j), (j{\rightarrow}k), (k{\rightarrow}i)\}\) .
# binary: ctriple(attr=NULL, diff=FALSE, levels=NULL)# binary: ctriad
quantitative attribute (see Specifying Vertex attributes and Levels (?nodal_attributes) for details.) If attr is specified and diff is FALSE , then the statistic is the number of cyclic triples where all
three nodes have the same value of the attribute. If attr is specified and diff is TRUE , then one statistic is added to the model for each value of attr, equal to the number of cyclic triples where all
three nodes have that value of the attribute.
specifies the value of attr to consider if attr is passed and diff=TRUE. (See Specifying Vertex
attributes and Levels (?nodal_attributes) for details.)
ergmTerm for index of model terms currently visible to the package.
ergm:::.formatTermKeywords("ergmTerm", "ctriple", "subsection")