betweeness_centrality: Betweeness centrality

Description Usage Arguments Value References Examples

View source: R/centrality.R

Description

#' Betweeness centrality is a measure of the number of time a node is between pairs of nodes. The value can be normalized by the number, see details for more informations.

Usage

1
betweeness_centrality(graph, normalized = TRUE, ...)

Arguments

graph

an igraph object.

normalized

logical should the coefficients be normalized? The formula would be:

C_{Bnorm} = 2 \times \frac{C_{B}}{(n-1)(n-2)}

Where C_{B} is the betweeness coefficent vector and n is the number of nodes.

...

others arguments passed to igraph::betweenness()

Value

numeric a vector containing betweeness centrality coefficients for each node.

References

Delmas, E., Besson, M., Brice, M.-H., Burkle, L. A., Dalla Riva, G. V., Fortin, M.-J., … Poisot, T. (2019). Analysing ecological networks of species interactions. Biological Reviews.

Examples

1
2
3

clementviolet/omnivor documentation built on Aug. 16, 2019, 12:05 a.m.