| centrality_diversity | R Documentation |
Shannon entropy of the edge weight distribution per node. Measures how evenly a node distributes its connections.
centrality_diversity(x, ...)
x |
Network input (matrix, igraph, network, cograph_network, tna object). |
... |
Additional arguments passed to |
Named numeric vector of diversity centrality values.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.