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 important change: agnes() in R 2.14.1 used a FORTRAN code
whereas agnes() in R 3.0.1 uses a C code.

Here is one of the contingency table between R 2.14.1 and R 3.0.1:
                                   classe.agnTani.2.14.1
classe.agnTani.3.0.1      1        2       3
                              1    74       0    229
                              2     0    235        0
                              3  120       0      15

So, I was wondering if it was normal that the C and FORTRAN codes give
different results?

Best regards,

Hugo Varet

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to