Description Usage Arguments Value Examples
getFactions is a support function for inferring faction leaders and their members as well as a faction size ratio of each faction. Leaders are nodes that have zero outgoing degree. Members of leader A's faction are nodes that have some directed path to A in a following network.
1 | getFactions(adjMat)
|
adjMat |
is an adjacency matrix of a following network. |
This function returns a list of leader IDs, a list of faction members, and network densities of factions.
leaders |
is a list of faction leader IDs |
factionMembers |
is a list of members of factions where |
factionSizeRatio |
is a vector of faction size ratio of each faction.
|
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.