On 4/23/07, Friedrich Leisch <[EMAIL PROTECTED]> wrote:
> >>>>> On Fri, 20 Apr 2007 14:46:33 -0700,
> >>>>> Deepayan Sarkar (DS) wrote:
>
>   > Hi,
>   > 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.

Thanks, that's what my guess was since the help page doesn't say
anything special about binary trees. My code should work in either
case.

In case anyone's interested, there's an example of a lattice/grid heatmap at

http://dsarkar.fhcrc.org/R/heatmap/lattice-heatmap.pdf

(the primary benefit for me is better control over aspect ratio).

-Deepayan

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to