ergmx.constraints.Blockdiag#

class ergmx.constraints.Blockdiag(attr, noncontig='merge')[source]#

Allow ties only between vertices with the same value of attr, as ergm’s blockdiag(): the dyads between blocks are fixed at no tie.

groups(network)[source]#

If it fixes the dyads between groups of vertices, each vertex’s group.