Learn R Programming

ergm (version 4.7.1)

m2star-ergmTerm: Mixed 2-stars, a.k.a 2-paths

Description

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 .

Usage

# binary: m2star

Arguments

See Also

ergmTerm for index of model terms currently visible to the package.

ergm:::.formatTermKeywords("ergmTerm", "m2star", "subsection")