What was the post you used to try to find a solution to this? It's possible we could tweak their solution to apply here.
You don't need to calculated distances yourself to do this. You can run k-means again on the new data by initializing with the known centers.
cl = kmeans(data,num.k);
x = c(.arg7,.arg8,.arg9,.arg10);
result<-kmeans(x, num.k, centers=cl$center, iter.max=1);
SUM([Holiday Type Value]),SUM([NumberOfPersons]),SUM([Season Value]),SUM([Price]),[Number of K],[Seed],[Filter Holiday Type],[Filter Number of Persons],[Filter Season],[Filter Price])
1 of 1 people found this helpful
Thank you for your solution. It solves my problem.