methods-kmeans function

Functionality for k-means clustering ('kmeans') objects