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