Description Usage Arguments Details Value Author(s) References See Also Examples
This function is a convenience wrapper for igraph's closeness function and takes as an input a list of igraph objects.
1 | closeness_centr_mult(graphs, col.names = NULL, row.names = NULL)
|
graphs |
a list of igraph objects. |
col.names |
The names of each column (node labels). |
row.names |
The names of each row (subject). |
Closeness centrality gives the average shortest path length betwen a node i and all other nodes.
\frac{N-1}{∑_{j\neq i}^N d(n_i,e_{ij})}
A matrix of the closeness centralities of each node for each subject.
Brandon Vaughan
Fornito, A., Zalesky, A., & Bullmore, E. (2016). Centrality and Hubs. Chapter 5. Fundamentals of Brain Network Analysis, 137-161. doi:10.1016/b978-0-12-407908-3.00005-4
Freeman, L.C. (1979). Centrality in Social Networks I: Conceptual Clarification. Social Networks, 1, 215-239.
closeness_centr_mult
current_centr
1 2 3 4 | ## Not run:
closeness = closeness_centr_mult(graphs,row.names = subj_numbers,col.names = node_labels)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.