rank each node in the graph based on their connection status with other nodes, the standard is the inward/outward link numbers.
standard square graph matrix
if type="both", the function will rank the nodes based on total link number, by counting both inward and outward links for each node; if type="in", the function will rank the nodes based on inward link number for each node; if type="out", the function will rank the nodes based on outward link number for each node;
return the sorted node vector in decreasing form with names showing the nodes,while the vector elements are the link numbers.
Youhua Chen <firstname.lastname@example.org>
Chen Y (2012) loop: an R package for performing decomposition of weighted directed graphs, food web analysis and flexible network plotting. Submitted.
1 2 3 4