[R] hclust.identify problem
markhall@gol.com
markhall at gol.com
Thu May 30 03:42:47 CEST 2002
Having some problems with using hclust.identify on my data, I revert to trying
it out on the example in the help manual. My result is still the same (as with
my own data):
data(iris)
hci <- hclust(dist(iris[,1:4]))
plot(hci)
testx<-identify.hclust(hci)
Error in rect.hclust(x, k = k, x = x$x, cluster = cluster[, k - 1], border
= "red") :
k must be between 2 and 0
identify.hclust(hci, function(k) print(table(iris[k,5])))
Error in rect.hclust(x, k = k, x = x$x, cluster = cluster[, k - 1], border
= "red") :
k must be between 2 and 0
Any suggestions?
I am using R : Copyright 2002, The R Development Core Team
Version 1.5.0 (2002-04-29) The hclust package was also downloaded
at the sametime I downloaded the base and other packages (circa May 10th or
so).
I am using the Windows binaries on a DELL laptop with 256 MB of ram running
Windows 2000.
The other stuff I have wanted to use in the hclust package seems to be working
fine.
Best, Mark Hall
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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