Displaying 1 result from an estimated 1 matches for "kcentroids".
Did you mean:
centroids
2012 Dec 12
1
EMA Package
...the package gives the following example code:
data(marty)
c<-clustering(marty, metric="pearson", method="ward")
clustering.plot(c, title="Hierarchical Clustering\nPearson-Ward")
which is working perfectly,
However, when I'm changing the method to method="kcentroids", on the exact
same example, I got the following error:
Error in DIS$DIS : $ operator is invalid for atomic vectors
Here is the code ran :
data(marty)
c<-clustering(marty, metric="pearson", method="kcentroids", 4)
clustering.plot(c, title="Hierarchical Clustering...