Skip to content
Prev 31608 / 398506 Next

S's plclust and R's hclust

On Tue, 6 May 2003, Dowkiw, Arnaud wrote:

            
All `unit' does is to rescale the `height' component.  Follow this 
example:

data(USArrests)
hc <- hclust(dist(USArrests), "ward")
plot(hc)
hc1 <- hc
hc1$height <- rank(hc$height)
plot(hc1)