| centrality_reaching_local | R Documentation |
Local reaching centrality measures how much of the network is reachable from a node.
centrality_reaching_local(x, mode = "all", ...)
x |
Network input (matrix, igraph, network, cograph_network, tna object). |
mode |
For directed networks: |
... |
Additional arguments passed to |
Directed unweighted: LRC(v) = |\{u : u \ne v, v \to u\}| / (N - 1).
Undirected unweighted: average of 1/d(v, u) over all
u \ne v, divided by N - 1. Numerically equal to
igraph::harmonic_centrality(normalized = TRUE).
Weighted: NetworkX convention, where edge weights are interpreted
as strengths and path length is \sum_e (\mathrm{total\_weight} / w_e).
Per-path score is the mean of original edge weights along the shortest
path.
Bit-exact match against networkx.local_reaching_centrality across
all three branches. Bit-exact match against
igraph::harmonic_centrality(normalized = TRUE) for the undirected
unweighted branch. See reaching_global for the graph-level
hierarchy measure derived from per-node LRC.
Named numeric vector of local reaching centrality values.
Mones, E., Vicsek, L., & Vicsek, T. (2012). Hierarchy measure for complex networks. PLoS ONE, 7(3), e33799.
centrality, centrality_harmonic,
reaching_global.
# Directed path A -> B -> C
adj <- matrix(c(0,1,0, 0,0,1, 0,0,0), 3, 3, byrow = TRUE)
rownames(adj) <- colnames(adj) <- c("A", "B", "C")
centrality_reaching_local(adj, mode = "out")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.