kmeans in R
K-Means Clustering Description Perform k-means clustering on a data matrix. Usage kmeans( x, centers, iter.max = 10, nstart = 1, algorithm = c("Hartigan-Wong", "Lloyd", "Forgy", "MacQueen"), trace=FALSE) ## S3 method for class 'kmeans'fitted(object, method = c("centers", "classes"), ...)Arguments xnumeric matrix of data, or an object that can be coerced to such a matrix (such as a numeric vector..