Centrality is a core concept in studying the topological structure of complex networks, which can be either defined for each node or edge. nd.centrality offers 3 distance measures on node-defined centralities. See this Wikipedia page for more on network/graph centrality.
nd.centrality( A, out.dist =TRUE, mode = c("Degree","Close","Between"), directed =FALSE)
Arguments
A: a list of length N containing (M×M) adjacency matrices.
out.dist: a logical; TRUE for computed distance matrix as a dist object.
mode: type of node centrality definitions to be used.
directed: a logical; FALSE as symmetric, undirected graph.
Returns
a named list containing
D: an (N×N) matrix or dist object containing pairwise distance measures.
features: an (N×M) matrix where rows are node centralities for each graph.