estimate_betweenness: Deprecated version of 'betweenness()'

View source: R/centrality.R

estimate_betweennessR Documentation

Deprecated version of betweenness()

Description

[Deprecated]

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 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.


igraph documentation built on Oct. 20, 2024, 1:06 a.m.