| centrality_within_module_z | R Documentation |
Z-score of intra-community connectivity. High values indicate hubs within their own community. Requires community membership.
centrality_within_module_z(x, membership = NULL, mode = "all", ...)
x |
Network input (matrix, igraph, network, cograph_network, tna object). |
membership |
Integer vector of community assignments (one per node). |
mode |
For directed networks: |
... |
Additional arguments passed to |
Named numeric vector of within-module z-score values.
centrality for computing multiple measures at once,
centrality_participation for between-community diversity.
adj <- matrix(c(0,1,1,0,0, 1,0,1,0,0, 1,1,0,1,0, 0,0,1,0,1, 0,0,0,1,0), 5, 5)
rownames(adj) <- colnames(adj) <- LETTERS[1:5]
centrality_within_module_z(adj, membership = c(1, 1, 1, 2, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.