ergmx.sociality#

ergmx.sociality(attr=None, base=1, levels=None, nodes=-1)[source]#

Each vertex’s degree, one statistic per vertex of nodes (by default all but the first; undirected networks); with attr, only the ties to vertices with the same value (of levels).