clustering which belongs to what cluster in r code example Example: k means clustering r R function kmeans()