Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hyperbolic_index

Hyperbolic (centrality) index


Description

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

Usage

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.

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.

Value

A vector containing centrality scores.

Author(s)

David Schoch

Examples

library(igraph)

g <- graph.empty(n=11,directed = FALSE)
g <- add_edges(g,c(1,11,2,4,3,5,3,11,4,8,5,9,5,11,6,7,6,8,
                   6,10,6,11,7,9,7,10,7,11,8,9,8,10,9,10))
hyperbolic_index(g,type = "odd")
hyperbolic_index(g,type = "even")

netrankr

Analyzing Partial Rankings in Networks

v0.3.0
MIT + file LICENSE
Authors
David Schoch [aut, cre], Julian Müller [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.