align_kmeans function

Split observations by k-means clustering groups.