Hi,

I received an interesting answer, given by Elias T. Krainski, in another
list. I repeat it here for just the record, it may be useful to someone
else.

library(vegan)
data(dune)
dis <- vegdist(dune)
cluc <- hclust(dis, "complete")
plot(cluc)
r <- rect.hclust(cluc, 3)
text(cumsum(sapply(r,length)),
     rep(mean(tail(unique(cluc$hei),2)), length(r)),
     paste(unique(grp[cluc$ord])))

Best regards,

Antonio


2012/3/2 Antonio Silva <aolinto.lst@gmail.com>

> Hi,
>
> Is it possible to place the group number in a cluster?
>
> The best example I found was at
> https://www.crops.org/images/publications/cs/42/5/1584f4.jpeg (see I, II,
> IIIa, IIIb)
>
> It would help to identify the group given by cutree since branches can
> turn around and they necessarily are not plotted in order (group 2 is not
> necessarily the second  from the left).
>
> Thanks for any help.
>
> All the best,
>
> Antonio
>



-- 
Antônio Olinto Ávila da Silva
Biólogo / Oceanógrafo
Instituto de Pesca (Fisheries Institute)
São Paulo, Brasil

	[[alternative HTML version deleted]]

