Home   >   User Resources   >   Online Help   >   apaGraph.Communities.CommunityAggregationMatrix
 

 

Function index Version 3.0.0

apaGraph.Communities.CommunityAggregationMatrix(Communities)

Excel=apaGraph.Communities.CommunityAggregationMatrix(Communities)

Result

Returns the binary community aggregation matrix P, with communities in rows and nodes in columns. Entry P(k,i) equals 1 if node i belongs to community k, otherwise 0. Rows follow the sorted community indices and columns the sorted node indices of the community table.

Syntax

Communities: community membership table; the first column contains the 1-based community index, the second column the 1-based node index