Learn R Programming

fdm2id (version 0.9.6)

SPECTRAL: Spectral clustering method

Description

Run a Spectral clustering algorithm.

Usage

SPECTRAL(d, k, sigma = 1, graph = TRUE, ...)

Arguments

d

The dataset (matrix or data.frame).

k

The number of cluster.

sigma

Width of the gaussian used to build the affinity matrix.

graph

A logical indicating whether or not a graphic should be plotted (projection on the spectral space of the affinity matrix).

...

Other parameters.

See Also

spectral-class

Examples

Run this code
if (FALSE) {
require (datasets)
data (iris)
SPECTRAL (iris [, -5], k = 3)
}

Run the code above in your browser using DataLab