## S3 method for class 'formula':
specc(x, data = NULL, na.action = na.omit, ...)## S3 method for class 'matrix':
specc(x, centers, kernel = "rbfdot", kpar =
list(sigma = 0.1), iterations = 200, mod.sample = 0.6, na.action = na.omit, ...)
sigma
inverse kernel width for the Radial Bspecc
wich extends the class vector
containing integers indicating the cluster to which
each point is allocated. The following slots contain useful informationk
(number of clusters) eigenvectors of a matrix derived
from the distance between points. Very good results are obtained by
using a standard clustering technique
to cluster the resulting eigenvector matrixes.kpca
, kcca
## Cluster the spirals data set.
data(spirals)
sc <- specc(spirals, centers=2)
sc
centers(sc)
size(sc)
withinss(sc)
plot(spirals, col=sc)
Run the code above in your browser using DataLab