K-means clustering for harmonized data
cluster.kmeans.Rd
This function performs K-means clustering on the harmonized training data and returns the clustering results.
Arguments
- object
A
precision
object containing harmonized training data in the slotharmon.train.data
.- k
Integer. Number of clusters. If NULL or not given, uses the number of unique labels in training data.