[R] drawing a cluster tree with variable labels

White.Denis@epamail.epa.gov White.Denis at epamail.epa.gov
Mon Dec 17 18:20:10 CET 2001


> Hello, R users
>
> I like to draw a cluster tree with a hclust command and
> plot.hclust command.  But, when the tree is drawn,
> I like to see variable labels at the bottom of the tree,
> instead of variable names.  That is, each variable has
> a bit lenghty label which expresses the meaning of the variable.
> and variable names and labels are stored in a data.frame.
> And I want the variable labels to appear at the bottom of
> the tree.
> What commands and/or options should I use?
> Could anyone tell me ?
> Thank you.
> -----------------------
> Hiroto Miyoshi
> ····
> h_m_ at po.harenet.ne.jp

You can look at the R script for "draw.tree" in package "maptree" to see
if you can modify it for your purposes.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list