[R] HCA and KMEANS

sensecheck anthony.ebker at ccuc.de
Fri Apr 23 12:06:25 CEST 2010


Hi there,

is it possible in r to use the  Initial partition established by using the
HAC partition with the kmean clustering?
E.g. perform the HCA, write the cluster affiliation in a seperate column
> DF$hclus.label <- assignCluster(model.matrix(~-1 + A15 + B12 + C70 + E14 +
+   H61 + N56 + P48 + T69 + W32 + Y43, DF), DF, cutree(HClust.1, k = 3)

-> use this as initial partition in the Kmeans
 
I have checked several tuts and formums and could not find a workaround.

Thanks for your help

Anthony

-- 
View this message in context: http://r.789695.n4.nabble.com/HCA-and-KMEANS-tp2042977p2042977.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list