spectral_distance: Find the Spectral Distance Between Two Hypergraphs

View source: R/spectral_calcs.R

spectral_distanceR Documentation

Find the Spectral Distance Between Two Hypergraphs

Description

Find the Spectral Distance Between Two Hypergraphs

Usage

spectral_distance(hype1, hype2, matrix = "laplacian")

Arguments

hype1

A hypergraph object

hype2

A hypergraph object

matrix

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

Value

A number representing the spectral distance between the two hypergraphs with respect to the given matrix

Examples

h1 <- example_hype()
h2 <- example_hype()
spectral_distance(h1, h2)

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