laplacian.neighbor_graph: Laplacian Matrix for neighbor_graph Objects

View source: R/neighbor_graph.R

laplacian.neighbor_graphR Documentation

Laplacian Matrix for neighbor_graph Objects

Description

Compute the Laplacian matrix of a neighbor_graph object.

Usage

## S3 method for class 'neighbor_graph'
laplacian(x, normalized = FALSE)

Arguments

x

A neighbor_graph object.

normalized

A logical value indicating whether the normalized Laplacian should be computed.

Value

A Matrix object representing the Laplacian matrix.


bbuchsbaum/neighborweights documentation built on April 1, 2024, 8:41 p.m.