powered by
Shannon entropy of the edge weight distribution per node. Measures how evenly a node distributes its connections.
centrality_diversity(x, ...)
Named numeric vector of diversity centrality values.
Network input (matrix, igraph, network, cograph_network, tna object).
Additional arguments passed to centrality.
centrality
centrality for computing multiple measures at once.
mat <- matrix(c(0, .5, .3, .5, 0, .8, .3, .8, 0), 3, 3) rownames(mat) <- colnames(mat) <- c("A", "B", "C") centrality_diversity(mat)
Run the code above in your browser using DataLab