[R] agnes not working

Dimitri Liakhovitski dimitri.liakhovitski at gmail.com
Wed Aug 31 21:16:43 CEST 2011


Hello!

I created a distances matrix for 13 objects using daisy (see the attached file).
I am trying to clusteranalyse it using agnes but it's not working.
What might be the problem:

mydistances<-read.csv("Results of daisy.csv")
mycluster<-agnes(mydistances, method="ward")

I am getting:
Error in agnes(mydistances, method = "ward") :
  NA/NaN/Inf in foreign function call (arg 15)

I am using R 2.13.1.
Thank you very much!
-- 
Dimitri Liakhovitski
marketfusionanalytics.com


More information about the R-help mailing list