Message-ID: <4E5EA1CA.1010800@statistik.tu-dortmund.de>
Date: 2011-08-31T21:04:10Z
From: Uwe Ligges
Subject: agnes not working
In-Reply-To: <CAN2xGJYbbciPSyoQrMxodTp+PAC72CUBofF57o4ZutnSchXBXA@mail.gmail.com>
On 31.08.2011 21:16, Dimitri Liakhovitski wrote:
> 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)
Your attachment did not make it through the filters:
Are you sure you have reasonable values in mydistances?
Uwe Ligges
> I am using R 2.13.1.
> Thank you very much!
>
>
>
> ______________________________________________
> R-help at r-project.org 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.