Hi!
I am trying to reorder a dendrogram via reorder.dendrogram. However, I
observed some problems with this, and I will illustrate them with an
example.
Take the following clustering problem:
datamatrix - matrix(c(2,2,2.5,2,1.5,2,2,1.5,2,2.5,
6,2,6.5,2,5.5,2,6,1.5,6,2.5,
Oups ... sorry, actually I found the problem.
The problem lies not with the reordering but with the construction of
the dendrogram: if a hierarchical method is used, there are never more
than 2 branches for a node. Therefore, the reordering does not give the
expected result. I will have to try
Hello,
Perhaps, you should chose another toy example closer to the reality.
Cases with exactly same distance rarely occur in the field. You
should, at least, add some random error:
datamatrix - matrix(c(2,2,2.5,2,1.5,2,2,1.5,2,2.5,
6,2,6.5,2,5.5,2,6,1.5,6,2.5, 4,4,4.5,4,3.5,4,4,3.5,4,4.5) +
3 matches
Mail list logo