hyperbolic_index: Hyperbolic (centrality) index

Description Usage Arguments Details Value Author(s) Examples

View source: R/hyperbolic.index.R

Description

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

Usage

1
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

1
2
3
4
5
library(igraph)

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

netrankr documentation built on Sept. 5, 2021, 5:19 p.m.