ergmx.txbx#
- ergmx.txbx(attr, levels=None)[source]#
TXBX: triangles of a B-tie and two X-ties to a common A vertex. 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.