How to create a "Clustergram" plot ? (in R)
Posted
by Tal Galili
on Stack Overflow
See other posts from Stack Overflow
or by Tal Galili
Published on 2010-06-13T19:32:44Z
Indexed on
2010/06/16
8:52 UTC
Read the original article
Hit count: 425
Hi all,
I came across this interesting website, with an idea of a way to visualize a clustering algorithm called "Clustergram":
I am not sure how useful this really is, but in order to play with it I would like to reproduce it with R, but am not sure how to go about doing it.
How would you create a line for each item so it would stay consistent throughout the different number of clusters?
Here is an example code/data to play with for potential answer:
hc <- hclust(dist(USArrests), "ave")
plot(hc)
© Stack Overflow or respective owner