powered by
Culster data with r1okm algorithm.
r1okm(x, centers, alpha = 0, nstart = 10, trace = FALSE, iter.max = 20)
An data matrix.
A number, number of cluster for clustering or pre init centers.
A number.
A number, number of execution to find the best result.
A boolean, tracing information on the progress of the algorithm is produced.
the maximum number of iterations allowed.
# NOT RUN { r1okm(iris[,-5], 3) r1okm(iris[,-5], 3, -0.5) r1okm(iris[,-5], iris[,-5], 1) # }
Run the code above in your browser using DataLab