spec.emb {loe}R Documentation

Spectral embedding with the normalized or the unnormalized Laplacian (Laplacian eigenmaps).

Description

Performs spectral embedding for a given adjacency matrix.

Usage

spec.emb(A, p, norm = TRUE)

Arguments

A
p

The number of dimensions.

norm

If TRUE, then the normalized Laplacian is used for embedding. If FASLE, then the unnormalized Laplacian is used for embedding.

Value

The corrdinate matrix with p columns whose rows give the coordinates of the vertexes.

Author(s)

Yoshikazu Terada

Examples

library(igraph)
ADM <- as.matrix( get.adjacency(graph.famous("Icosahedral")) )

#Apply some graph embedding methods
LE <-spec.emb(A=ADM,2,norm=FALSE)

[Package loe version 1.1 Index]