Skip to content

dendrogram ultrametrics

2 messages · Lisa.Holman@npws.nsw.gov.au, Christian Hennig

#
Dear Lisa,

as far as I know, there is no implementation of dendrogram ultrametrics,
but it could be easily computed from the output of hclust (package mva)
or agnes (package cluster) in the following manner:
1) Generate the desired dendrogram by hclust or agnes.
2) Generate partitions for all levels by cutree.
3) For a given pair of objects, determine the level on which they are
joined.
4) Take the height component of the output object of hclust or agnes
at this level.

Perhaps it can be done faster by intelligent use of the merge component
of the output object. (Note that I didn't try it, so all this assumes that
the help pages are correct and I understood them...)

Best,
Christian
On Mon, 23 Feb 2004 Lisa.Holman at npws.nsw.gov.au wrote:

            
***********************************************************************
Christian Hennig
Fachbereich Mathematik-SPST/ZMS, Universitaet Hamburg
hennig at math.uni-hamburg.de, http://www.math.uni-hamburg.de/home/hennig/
#######################################################################
ich empfehle www.boag-online.de