ergmx.transitiveties#

ergmx.transitiveties(attr=None, levels=None)[source]#

Number of ties i -> j with a two-path i -> k -> j (in undirected networks, ties with a shared partner); with attr, only ties and two-paths whose three vertices have the same value.