Displaying 1 result from an estimated 1 matches for "pamkcbi".
2013 Apr 08
0
prediction.strength in r package fpc
Hi
i am using prediction.strength with k-medoids algorithms. There are simple examples like
prediction.strength(iriss,2,3,M=3,method="pam")
I wrote my code like
prediction.strength(data,2,6,M=10,clustermethod=pamkCBI,DIST,krange=2:6,diss=TRUE,usepam=TRUE)
because i am using the dissimilarity matrix instead of the data itself for the clustering algorithms. But then i got this error message:
Error in switch(method, kmeans = kmeans(xdata[indvec[[l]][[i]], ], k, :
EXPR must be a length 1 vector
can someone ple...