thx very much!
that helps to give those nodes somewhat dynamic names, so a legend to  
explain those numbers would be a solution, i´ll think about.
Anyway, is it possible to name the nodes by "hand", for example call  
node1 "myname1", node2 "something else" and so on ?


best

-m.


P.S.: Are there further packages you use for the dendrograms that you  
could recommend ?




Am 10.03.2007 um 04:33 schrieb Steven McKinney:

> local({
>   edgeLab <<- function(n) {
>       if(!is.leaf(n)) {
>         a <- attributes(n)
>         i <<- i+1
>         attr(n, "edgetext") <-
>             format(i)
>       }
>       n
>   }
>   i <- 0
>  })
> dL <- dendrapply(as.dendrogram(hclust(dist(iris[, 1:4]), method =  
> "single")), edgeLab)
> plot(dL)


	[[alternative HTML version deleted]]

