[R] identify.hclust() not working for me

From: David Farrar <dfarrar_at_newrvana.com>
Date: Sun 29 Oct 2006 - 20:06:28 GMT


I had a look at the online documentation, and didn't see from that what is   my problem. If I should have, pardon me. Here is my session. As I understand the documentation, this should work with only   an hclust object. I get a similar error when in include a FUN argument.   I am using V2.4.0.    

  > hc
  Call:
hclust(d = dist(mtx2, method = "manh"), method = "average")   Cluster method : average
Distance : manhattan
Number of objects: 9
  > plot(hc)
> identify(hc)

Error in cutree(x, k = 2:MAXCLUSTER) : elements of 'k' must be between 1 and 9
>
       

  David Farrar, Ph.D.
  New River Analytic

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon Oct 30 07:13:26 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 29 Oct 2006 - 21:30:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.