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

 

Function index Version 3.0.0

apaGraph.Communities.GirvanNewman.N(Edges, Layout, IsWeighted, N, ShowInfo)

Excel=apaGraph.Communities.GirvanNewman.N(Edges, Layout, IsWeighted, N, ShowInfo)

Result

Identifies Girvan-Newman communities for a fixed number of communities N. Returns one row per node with the community index, the node index and the x and y layout coordinates.

Syntax

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

Layout: node layout; the first column contains the x coordinates, the second column the y coordinates

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

N: target number of communities

ShowInfo: TRUE to show additional columns with community and node information: 1) average internal strength of the community, 2) internal strength of the node within the community, 3) external strength of the node