assortativity_numeric
Computes a graph’s numeric assortativity.
sasviya.network.algorithms.summary.assortativity_numeric(g, node_attr)
Parameters
- g : SAS graph object
-
Specifies the input graph to assess.
- node_attr : str
-
Specifies the name of the numeric node attribute to use.
Returns
- float
-
Returns the numeric assortativity.
Last updated: July 28, 2026