ase {multiness}R Documentation

Adjacency Spectral Embedding (ASE)

Description

ase calculates the d-dimensional adjacency spectral embedding of a symmetric n \times n matrix M.

Usage

ase(M,d)

Arguments

M

A symmetric matrix.

d

A non-negative integer embedding dimension.

Value

An n \times d matrix X, defined as U |S|^{1/2} where S is a diagonal matrix of the d leading (in absolute value) eigenvalues of M, and U is a matrix of the corresponding eigenvectors.

X has an additional attribute "signs" which gives the sign of the eigenvalue corresponding to each column.

If d=0, ase returns an n \times 1 matrix of zeros.


[Package multiness version 1.0.2 Index]