produceU: ProduceU

Description Usage Arguments Value

View source: R/SpectralClustering.R

Description

Given n by n similarity this function first calculate the Laplacian

Usage

1
produceU(similarity, ncol, type = 2, all.eig = FALSE)

Arguments

similarity

an n by n matrix

ncol

number of columns of the output matrix U

type

The algrithm that should be choosen. options are 1, 2, and 3

all.eig

a logical value indicating whether all the eigenvector should be compute or not

Value

n by ncol numeric matrix that contains the ncol tops eigenvectors of Laplacian matrix as column


jsta/speCluster documentation built on Aug. 6, 2021, 3:23 p.m.