Description Usage Arguments Details Value Author(s) References See Also Examples
This function calculates the number of non-zero connections each node in a network has for a single graph.
1 | degree_centr(graph)
|
graph |
A network as an igraph object or connectivity matrix. |
Degree centrality is simply the sum of present connections of node i to each other jth node:
D_i= ∑_{j \neq i}^N e_{ij}
For the weighted version of degree, see the functions for calculating strength.
A vector of centrality scores for each node.
Brandon Vaughan
Fornito, A., Zalesky, A., & Bullmore, E. (2016). Node Degree and Strength. Chapter 4. Fundamentals of Brain Network Analysis, 115-136. doi:10.1016/B978-0-12-407908-3.00004-2
degree_mult
strength_signed
strength
1 | # degree = degree_centr(graph)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.