laplacian: Laplacian

Description Usage Arguments Value Examples

View source: R/embedding.R

Description

Return the Laplacian matrix of a directed graph.

Usage

1
laplacian(graph, normed = FALSE)

Arguments

graph

compressed-sparse graph

normed

If TRUE, then compute symmetric normalized Laplacian.

Value

The N x N laplacian matrix of csgraph.

Examples

1
2
3

arthans/SpectralClustering documentation built on Dec. 19, 2021, 4:41 a.m.