Thank you very much for your help. everything works great
--
View this message in context:
http://r.789695.n4.nabble.com/Using-centers-of-hierarchical-clustering-for-k-means-tp4690704p4690870.html
Sent from the R help mailing list archive at Nabble.com.
Well, you could use the group membership from the clustering along
with, for instance, aggregate() to get the mean values for each
cluster, and pass those to kmeans() using the centers argument as
described in the help file.
Unless you want medoids instead of centroids, since you didn't specify?
elp-boun...@r-project.org] On
Behalf Of marioger
Sent: Friday, May 16, 2014 7:29 AM
To: r-help@r-project.org
Subject: [R] Using centers of hierarchical clustering for k-means
Hi,
i have the following problem: I am using k-means algorithm for clustering.
But instead of using randomized centers
Hi,
i have the following problem: I am using k-means algorithm for clustering.
But instead of using randomized centers, I would like to use centers created
by hierarchical clustering. So I want to apply "hclust" on my data set (in
this case the iris data), getting a solution by "cutree", calculati
4 matches
Mail list logo