Learn R Programming

Grace (version 0.5.3)

make.L:

Description

This function builds the graph Laplacian matrix from an adjacency matrix.

Usage

make.L(adj,normalize.Laplacian=FALSE)

Arguments

adj
adjacency matrix of the graph.
normalize.Laplacian
whether the graph Laplacian matrix should be normalized to make all diagonal entries equal to 1. Grace test with the normalized Laplacian matrix is more powerful in identifying hub-covariates.

Value

A matrix object of the graph Laplacian matrix.