Use edge_betweenness()
with the cutoff
argument instead.
Usage
estimate_edge_betweenness(
graph,
e = E(graph),
directed = TRUE,
cutoff,
weights = NULL
)
Arguments
- graph
The graph to analyze.
- e
The edges for which the edge betweenness will be calculated.
- directed
Logical, whether directed paths should be considered while determining the shortest paths.
- cutoff
The maximum shortest path length to consider when calculating betweenness. If negative, then there is no such limit.
- weights
Optional positive weight vector for calculating weighted betweenness. If the graph has a
weight
edge attribute, then this is used by default. Weights are used to calculate weighted shortest paths, so they are interpreted as distances.