[Rd] dendrogram definition
friedrich.leisch at stat.uni-muenchen.de
Mon Apr 23 10:29:09 CEST 2007
>>>>> On Fri, 20 Apr 2007 14:46:33 -0700,
>>>>> Deepayan Sarkar (DS) wrote:
> I'm trying to create a "grob" representing a dendrogram object (for
> use as a legend with lattice), and I have a question regarding how a
> "dendrogram" should be interpreted. Are they by definition binary
> trees or can they in principle have more than two children?
They can have more than 2 children, and class "dendrogram" supports
this. However, as most trees are currently created using hclust, all
examples have binary trees.
creates a tree with three branches in the root node (not all
attributes are correct after that brute force operation, so plots will
not look as nice as possible).
More information about the R-devel