
Last chance! 50% off unlimited learning
Sale ends in
Computes eigenvector
centrality over nodes in a subset of nodes
in the network. This measure generalizes across any subset of nodes and
is not specific to communities
flow.frac(A, nodes)
An adjacency matrix
A subset of nodes in the network
Returns a flow fraction value
Giscard, P. L., & Wilson, R. C. (2018). A centrality measure for cycles and subgraphs II. Applied Network Science, 3, 9. doi: 10.1007/s41109-018-0064-5
# NOT RUN {
A <- TMFG(neoOpen)$A
nodes <- c(1,3,5,7,11,13,17,19,23,29,31,37,41,43,47)
result <- flow.frac(A, nodes)
# }
Run the code above in your browser using DataLab