centr_lev: Calculate a vertex's leverage centrality

Description Usage Arguments Details Value Author(s) References See Also

View source: R/centr_lev.R

Description

Calculates the leverage centrality of each vertex in a graph.

Usage

1

Arguments

g

An igraph graph object

Details

The leverage centrality relates a vertex's degree with the degree of its neighbors. The equation is:

l_i = \frac{1}{k_i} ∑_{j \in N_i} \frac{k_i - k_j}{k_i + k_j}

where k_i is the degree of the i^{th} vertex and N_i is the set of neighbors of i. This function replaces NaN with NA (for functions that have the argument na.rm).

This function was adapted from the igraph wiki (http://igraph.wikidot.com).

Value

A vector of the leverage centrality for all vertices.

Author(s)

Christopher G. Watson, [email protected]

References

Joyce K.E., Laurienti P.J., Burdette J.H., Hayasaka S. (2010) A new measure of centrality for brain networks. PLoS One, 5(8):e12200.

See Also

Other Centrality functions: centr_betw_comm


brainGraph documentation built on May 29, 2018, 9:03 a.m.