| centrality_power | R Documentation |
Measures influence based on connections to other influential nodes. The power parameter controls whether connections to well-connected nodes increase or decrease centrality.
centrality_power(x, mode = "all", ...)
x |
Network input (matrix, igraph, network, cograph_network, tna object). |
mode |
For directed networks: |
... |
Additional arguments passed to |
Named numeric vector of power centrality values.
centrality for computing multiple measures at once,
centrality_eigenvector for a related measure.
adj <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), 3, 3)
rownames(adj) <- colnames(adj) <- c("A", "B", "C")
centrality_power(adj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.