[R] How to plot the dendrogram or tree for kmeans ?

hadley wickham h.wickham at gmail.com
Thu Mar 20 10:42:57 CET 2008


On Thu, Mar 20, 2008 at 5:45 AM,  <Bill.Venables at csiro.au> wrote:
> Why do you think there is one?  kmeans is an agglomerative clustering
>  algorithm, not a recursively dividing one.
>
>  Since there is no clustering hierarchy, so there is no dendrogram.

However, you could create a "clustergram":

@article{schonlau:2002,
	Author = {Schonlau, Matthias},
	Journal = {The Stata Journal},
	Pages = {316-327},
	Title = {The clustergram: A graph for visualizing hierarchical and
non-hierarchical cluster analyses},
	Volume = {3},
	Year = {2002},
        Url = {http://www.schonlau.net/clustergram.html}
}

Hadley

-- 
http://had.co.nz/



More information about the R-help mailing list