[R] distance in the function kmeans

2004-05-28 Thread n\.bouget
Hi, I want to know which distance is using in the function kmeans and if we can change this distance. Indeed, in the function pam, we can put a distance matrix in parameter (by the line "pam<-pam(dist(matrixdata),k=7)" ) but we can't do it in the function kmeans, we have to put the matrix of data

[R] Agnes and Hclust

2004-05-25 Thread n\.bouget
Hi, I want to know if there is a difference between the two hierarchical methods Agnes and hclust when there are used with the same method and the same metric on the same data! I ask this question because I executed the following program: hc <- hclust(dist(AGRIINSTTableFinaleCR), "ward") agnes<-a

[R] equivalent of the Splus function "eboulis()"

2004-05-25 Thread n\.bouget
Hi, Is there a equivalent of the function "eboulis()" (which is a new funtion on Splus) on R? Otherwise, with which function can we see the best number of cluster we have to choose? Thanks in advance, Nicolas BOUGET Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET

[R] Question

2004-05-25 Thread n\.bouget
[R]:Agnes vs Hclust Hi, I want to know if there is a difference between the two hierarchical methods Agnes and hclust when there are used with the same method and the same metric on the same data! I ask this question because I've got a difference, the clusters are not the same even if there are so

[R] Informations about merge function

2004-04-19 Thread n\.bouget
Hello, I want to have some informations about the merge function: indeed, I want te merge many data frames but I don't want to have missing value NA for the rows but the number 0 for the rows who're not in all tables! I didn't see any options to do that!! and when I use function like na.omit and