kmeansU: kmeansU

Description Usage Arguments Value

View source: R/SpectralClustering.R

Description

Perform k-means clustering on the U matrix.

Usage

1
kmeansU(data, cluster.number, repetition = 400, iter.max = 400)

Arguments

data

numeric matrix U

cluster.number

The number of clusters.

repetition

How many random sets should be chosen for as the initial centers

iter.max

The maximum number of iterations allowed

Value

cluster: A vector of integers(from 1:cluster.number) indicating the cluster to each point is allocated


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