spectra: Find the Spectra of a Hypergraph

View source: R/spectral_calcs.R

spectraR Documentation

Find the Spectra of a Hypergraph

Description

Find the Spectra of a Hypergraph

Usage

spectra(hype, matrix = "laplacian", n = NULL)

Arguments

hype

A hypergraph object

matrix

The matrix to calculate the spectra with respect to. Out of "laplacian", "adjacency", "vert_norm_lap_mat" and "hype_norm_lap_mat"

n

The number of eigenvalues or eigenvectors to calculate. If left empty or as NULL all will be calculated.

Value

The eigen decomposition of the given matrix of the given hypergraph

Examples

h <- example_hype()
spectra(h)

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