Re: [R] agnes() in package cluster on R 2.14.1 and R 3.0.1

2013-06-12 Thread Hugo Varet
Dear Martin, Thank you for your answer. I got the dist.binary() function in the ade4 package. It gives several distances for binary data. I agree with you, some individuals probably share the same profile in my data. Regards, Hugo [[alternative HTML version deleted]] _

Re: [R] agnes() in package cluster on R 2.14.1 and R 3.0.1

2013-06-12 Thread Martin Maechler
> Hugo Varet > on Tue, 11 Jun 2013 15:15:36 +0200 writes: > Dear Martin, > Thank you for your answer. Here is the exact call to agnes(): > setwd("E:/Hugo") > library(cluster) > load("mydata.rda") > tableauTani<-dist.binary(mydata, method = 4, diag = FALSE, uppe

Re: [R] agnes() in package cluster on R 2.14.1 and R 3.0.1

2013-06-11 Thread Hugo Varet
Dear Martin, Thank you for your answer. Here is the exact call to agnes(): setwd("E:/Hugo") library(cluster) load("mydata.rda") tableauTani<-dist.binary(mydata, method = 4, diag = FALSE, upper = FALSE) resAgnes.Tani<-agnes(tableauTani, diss = inherits(tableauTani, "dist"),method = "ward") classe.a

Re: [R] agnes() in package cluster on R 2.14.1 and R 3.0.1

2013-06-10 Thread Martin Maechler
> Hugo Varet > on Sun, 9 Jun 2013 11:43:32 +0200 writes: > Dear R users, > I discovered something strange using the function agnes() of the cluster > package on R 3.0.1 and on R 2.14.1. Indeed, the clusterings obtained are > different whereas I ran exactly the same cod

[R] agnes() in package cluster on R 2.14.1 and R 3.0.1

2013-06-09 Thread Hugo Varet
Dear R users, I discovered something strange using the function agnes() of the cluster package on R 3.0.1 and on R 2.14.1. Indeed, the clusterings obtained are different whereas I ran exactly the same code. I quickly looked at the source code of the function and I discovered that there was an imp