| centrality_stress | R Documentation |
Number of shortest paths passing through each node. Unlike betweenness, does not normalize by the total number of shortest paths.
centrality_stress(x, ...)
x |
Network input (matrix, igraph, network, cograph_network, tna object). |
... |
Additional arguments passed to |
Named numeric vector of stress centrality values.
centrality for computing multiple measures at once,
centrality_betweenness for the normalized variant.
adj <- matrix(c(0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0), 4, 4)
rownames(adj) <- colnames(adj) <- c("A", "B", "C", "D")
centrality_stress(adj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.