ergmx.b2twostar#

ergmx.b2twostar(b1attr, b2attr=None, base=None, b1levels=None, b2levels=None, levels2=None)[source]#

Number of two-stars centred on second-mode vertices, by the value of b2attr of the centre and the (unordered) values of b1attr of the two ends (b2attr defaults to b1attr).

Bipartite networks only; b1 terms are about the first mode, b2 terms the second.