Hi Ralph, In case of hclust, the dendrogram does show the "steps" (they are the heights presented in the graph). You can present them also in a matrix using "cutree", for example:
dat <- (USArrests) n <- (dim(dat)[1]) hc <- hclust(dist(USArrests)) cutree(hc, k=1:n) You might then visualize the results using a clustergram (I wrote about it recently here: http://www.r-statistics.com/2010/06/clustergram-visualization-and-diagnostics-for-cluster-analysis-r-code/ ) It would take a bit of R coding, but it's suppose to be relatively easy. Regarding the case of kmeans, you could try the "kmeans.ani" function from the {animation} package. Hope this helps, Cheers, Tal ----------------Contact Details:------------------------------------------------------- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) ---------------------------------------------------------------------------------------------- On Wed, Jun 23, 2010 at 8:25 PM, Ralph Modjesch < ralph.modje...@pfeiffer-koberstein-immobilien.de> wrote: > Hi, > > I use the following clustering methods and get the > corresponding dendrograms for single, complete, average, ward and > kmeans clustering. > > This gives the dendrograms, but doesn't show the calculation-way. > > My question: is there a possibility to show this calculation steps > (cluster steps) in matrix or graphical form? > > > Mit freundlichen Grüßen > > Ralph Modjesch > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.