eigenvector_centrality: Calculate The Eigenvector Centrality Of A Hypergraph

View source: R/centrality.R

eigenvector_centralityR Documentation

Calculate The Eigenvector Centrality Of A Hypergraph

Description

To calculate the eigenvector centrality of a hypergraph, each vertex is assigned a value that is proportional to the sum of the value of its neighbours.

Usage

eigenvector_centrality(hype)

Arguments

hype

A hypergraph object

Value

A vector of values representing the eigenvector centrality of each node

Examples

h1 <- example_hype()
eigenvector_centrality(h1)

rhype documentation built on Aug. 6, 2022, 5:05 p.m.