katz_centrality: Calculates Katz centrality (Katz Status Index) of network....

katz_centralityR Documentation

Calculates Katz centrality (Katz Status Index) of network. Original implementation has been modified to escape the invalid alpha value error which happens when a graph is not acyclic

Description

Katz centrality computes the relative influence of a node within a network by measuring the number of the immediate neighbors (first degree nodes) and also all other nodes in the network that connect to the node under consideration through these immediate neighbors

Usage

katz_centrality(graph, alpha = 0.1)

Arguments

graph

The input graph as igraph object

alpha

The alpha parameter, which must be between 0.0-0.2. The default is 0.1.

vids

Vertex sequence, the vertices for which the centrality values are returned. Default is all vertices.

Value

A numeric vector contaning the centrality scores for the selected vertices.

Author(s)

Mahdi Jalili m_jalili@farabi.tums.ac.ir

References

Junker, Bjorn H., Dirk Koschutzki, and Falk Schreiber. "Exploration of biological network centralities with CentiBiN." BMC bioinformatics 7.1 (2006): 219.

Examples

g <- barabasi.game(20)
katz_centrality(g)

seekme94/influence.mining documentation built on Aug. 2, 2022, 10:19 p.m.