Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

spec.emb

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)

loe

Local Ordinal Embedding

v1.1
GPL (>= 2)
Authors
Yoshikazu Terada, Ulrike von Luxburg
Initial release
2016-02-09

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.