Can anybody explain how to assign cluster vectors to appropriate cluster centers after performing Kmeans clustering? I am working with R/Rstudio, is there any library that does it? or can anybody direct me to useful materials that could guide me? The essence is to get back my data from m by n(original data) to m by n-x (reduced data) after performing PCA and K-means.
Thanks