Learn R Programming

NetworkToolbox (version 1.4.2)

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.

Examples

Run this code
# NOT RUN {
# Pearson's correlation only for CRAN checks
A <- TMFG(neoOpen, normal = FALSE)$A

nodes <- seq(1,48,2)

result <- flow.frac(A, nodes)

# }

Run the code above in your browser using DataLab