normalized_laplacian: Construct a generalized laplacian matrix

Description Usage Arguments Details Value

Description

Construct a generalized laplacian matrix

Usage

1

Arguments

input

either an affinity matrix or an igraph::graph. If class(input) == 'igraph', then an affinity matrix is computed and used. Otherwise, it is assumed that the input is an affinity matrix.

...

additional arguments passed to affinity_matrix if class(input) == 'igraph'.

Details

This function involves a matrix inversion and is therefore fairly expensive for large graphs.

Value

a generalized laplacian matrix suitable for spectral analysis.


PhilChodrow/compx documentation built on May 8, 2019, 1:34 a.m.