| cycle-ergmTerm | R Documentation | 
This term adds one network statistic to the model for each value of k ,
corresponding to the number of k -cycles (or, alternately, semicycles)
in the graph.
This term can be used with either directed or undirected networks.
# binary: cycle(k, semi=FALSE)
k | 
 a vector of integers giving the cycle lengths to count.
Directed cycle lengths may range from   | 
semi | 
 an optional logical indicating whether semicycles (rather than directed cycles) should be counted; this is ignored in the undirected case.  | 
directed | 
 2-cycles are equivalent to mutual dyads.  | 
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.