Home   >   User Resources   >   Online Help   >   apaGraph.Communities.GirvanNewman.ModularityPath
 

 

Function index Version 3.0.0

apaGraph.Communities.GirvanNewman.ModularityPath(Edges, IsWeighted)

Excel=apaGraph.Communities.GirvanNewman.ModularityPath(Edges, IsWeighted)

Result

Returns the Girvan-Newman modularity path of a graph or MST. Each row contains the hierarchy level, the number of communities and the modularity at that level. If weighted, shortest paths use the edge distances, while modularity is evaluated on internally derived inverse-distance strengths.

Syntax

Edges: edge list; the first two columns contain the node indices, the third column the distance

IsWeighted: TRUE to use the edge distances in the shortest-path betweenness, FALSE to use unit edge lengths