Nothing

```
kmeansKA <- function(X, K, distancemetric = "euclidean", iter.max = 10, nstart = 1, algorithm = c("Hartigan-Wong"), trace = FALSE) {
K <- KA(X, K, distancemetric)
r = kmeans(X, K, iter.max, nstart, algorithm, trace)$cluster
return(clustVec2partMat(r))
}
```

**Any scripts or data that you put into this service are public.**

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.