[R] please help me in r

Ghada Almousa ghada.f.mm at gmail.com
Tue Apr 28 19:39:23 CEST 2015


Hello dears

I using (R tool) in my project
and I want to compare the results betwen k-mean cluster ,Hierarchical
cluster and EM cluster
  I use cluster.stats() it's work on k-mean cluster and hrarichal cluster
but not work in EM

Hello Dears
 I Use R tool in my project
I want to do comparison of the results between the k-mean cluster
,Hierarchical cluster and EM cluster
   I use cluster.stats () function that it is working on a the k-mean
cluster ,Hierarchical cluster  But do not work in EM
mydata<-(data)
my <-data.matrix(mydata)
d<-dist(as.matrix(my
 library(mclust)
m <- Mclust(d, G =2)
cluster.stats(d, m
Error in max(clustering) : invalid 'type' (list) of argument

	[[alternative HTML version deleted]]



More information about the R-help mailing list