kmeans clustering of image imported as a RasterStack. This function is used by patLanK and patRegK.
kmeans
patLanK
patRegK
Useful links