| centrality_strength | R Documentation |
Sum of edge weights connected to each node. For directed networks,
centrality_instrength sums incoming weights and
centrality_outstrength sums outgoing weights.
centrality_strength(x, mode = "all", ...)
centrality_instrength(x, ...)
centrality_outstrength(x, ...)
x |
Network input (matrix, igraph, network, cograph_network, tna object). |
mode |
For directed networks: |
... |
Additional arguments passed to |
Named numeric vector of strength values.
centrality for computing multiple measures at once,
centrality_degree for the unweighted version.
mat <- matrix(c(0, .5, .3, .5, 0, .8, .3, .8, 0), 3, 3)
rownames(mat) <- colnames(mat) <- c("A", "B", "C")
centrality_strength(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.