Learn R Programming

NetworkToolbox (version 1.2.3)

flow.frac: Flow Fraction

Description

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

Usage

flow.frac(A, nodes)

Arguments

A

An adjacency matrix

nodes

A subset of nodes in the network

Value

Returns a flow fraction value

References

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

Examples

Run this code
# 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