hyperbolic_index function

Hyperbolic (centrality) index

Hyperbolic (centrality) index

The hyperbolic index is an index that considers all closed walks of even or odd length on induced neighborhoods of a vertex.

hyperbolic_index(g, type = "odd")

Arguments

  • g: igraph object.
  • type: string. 'even' if only even length walks should be considered. 'odd' (Default) if only odd length walks should be used.

Returns

A vector containing centrality scores.

Details

The hyperbolic index is an illustrative index that should not be used for any serious analysis. Its purpose is to show that with enough mathematical trickery, any desired result can be obtained when centrality indices are used.

Examples

library(igraph) data("dbces11") hyperbolic_index(dbces11, type = "odd") hyperbolic_index(dbces11, type = "even")

Author(s)

David Schoch