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 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
White.Denis@epamail.epa.gov
2001-Dec-17 17:20 UTC
[R] drawing a cluster tree with variable labels
> 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.jpYou 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._