hyperbolic_index: Hyperbolic (centrality) index

View source: R/hyperbolic.index.R

hyperbolic_indexR Documentation

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)

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

schochastics/netrankr documentation built on Jan. 10, 2024, 2 p.m.