Hi,

currently the "label" and "edgetext" attributes of a dendrogram are
coerced to character before they are added to a plot with `text'. Is there
a specific reason to do so (expect for the determination of the size of
the character string to be plotted)? Otherwise one could plot the
attributes directly via

diff dendrogram.R /usr/src/R/src/library/stats/R/dendrogram.R
317c317
<               text(xBot, yBot + vln, attr(child,"label"))
---
>               text(xBot, yBot + vln, nodeText)
337c337
<                 text(mx, my, attr(child, "edgetext"))
---
>                 text(mx, my, edgeText)
344c344
<                 text(xBot, my, attr(child, "edgetext"))
---
>                 text(xBot, my, edgeText)

and one could use expressions for plotting symbols.

Best,

Torsten

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Reply via email to