Skip to content
Prev 87371 / 398502 Next

creating dendrogram from cluster hierarchy

Timo Becker schrieb:
The above is not recommended, since

hierarchy <- matrix(c(-1,2,-2,-3,0.5,1), ncol=3)
hc <- hierarchy2dendrogram(hierarchy)
plot(hc)

causes R 2.2.1 (WinXP) to crash.
I am aware that I am using objects in an unusual way they were not meant to.
I still do not understand what went wrong though (I suppose the merge 
matrix has to follow several restrictions).

Regards,
Timo