Use `betweenness()`

with the `cutoff`

argument instead.

## Usage

```
estimate_betweenness(
graph,
vids = V(graph),
directed = TRUE,
cutoff,
weights = NULL
)
```

## Arguments

- graph
The graph to analyze.

- vids
The vertices for which the vertex betweenness estimation will be calculated.

- directed
Logical, whether directed paths should be considered while determining the shortest paths.

- cutoff
The maximum path length to consider when calculating the betweenness. If zero or 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.