ergmx.txax#
- ergmx.txax(attr, levels=None)[source]#
TXAX: triangles of an A-tie and two X-ties to a common B vertex, the sum over A-ties of their endpoints’ shared B partners. For two-level (multilevel) networks, as MPNet (Wang et al. 2013): the levels are the values of the vertex attribute
attr, A and B (levels=(A, B), or the attribute’s two values, sorted); A-ties are within A, B-ties within B, X-ties between them. Undirected networks.