closeness_centr_mult: Calculate closeness centrality for a list of graphs.

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

This function is a convenience wrapper for igraph's closeness function and takes as an input a list of igraph objects.

Usage

1
closeness_centr_mult(graphs, col.names = NULL, row.names = NULL)

Arguments

graphs

a list of igraph objects.

col.names

The names of each column (node labels).

row.names

The names of each row (subject).

Details

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})}

Value

A matrix of the closeness centralities of each node for each subject.

Author(s)

Brandon Vaughan

References

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.

See Also

closeness_centr_mult current_centr

Examples

1
2
3
4
## Not run: 
closeness = closeness_centr_mult(graphs,row.names = subj_numbers,col.names = node_labels)

## End(Not run)

abnormally-distributed/rsfcNet documentation built on March 8, 2020, 5:32 p.m.