[R] printing hclust with k clusters
Martin Maechler
maechler at stat.math.ethz.ch
Thu Jul 20 11:15:49 CEST 2000
>>>>> "FrL" == Friedrich Leisch <Friedrich.Leisch at ci.tuwien.ac.at> writes:
>>>>> On Thu, 20 Jul 2000 17:09:46 +1000,
>>>>> Strumila, John (SJ) wrote:
SJ> sorry if I was unclear. I want a plot method for say k=10. Maybe
SJ> something like:
SJ> hc <- hclust(dist(mydata)) plot(cutree(hc, k=10))
SJ> but the cutree object doesn't give the right class for the plot
SJ> method that I want.
FrL> Aah, you mean plotting the upper part of the dendrogram such that
FrL> it has only 10 leaves, i.e., cutting it there?
FrL> That's somewhere on my 2do list (but I want to implement general
FrL> functions for handling trees, not only cluster dendrograms, hence
FrL> it is not that trivial) ...
was mich dran erinnert, dass ich doch schon seit einigen Tagen fragen
wollte, wie's hiere weitergehen soll.
Ich koennte auch was machen, im Sinne der besprochenen "dendrogramm" Klasse
aber es waere gewiss sinnvoll, nicht dasselbe zweimal zu tun..
Hast du schon einen "core dump", den ich mal bearbeiten koennte?
Gruss : Martin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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