# Iris data
# Loading the numeric variables of iris data
iris <- as.matrix(iris[,-5])
# reduced k-means with 3 unit-clusters and 2 components for the variables
out <- redkm(iris, K = 3, Q = 2, Rndstart = 15, verbose = 0, maxiter = 100, tol = 1e-7, rot = 1)
Run the code above in your browser using DataLab