1
http://stat.ethz.ch/R-manual/R-devel/library/cluster/html/clusplot.default.html的R文檔不完全幫助我。代碼:如何使用R的clusplot爲不同羣集中的觀察點分配不同的顏色
somedata = read.data("somefile.tsv")
clustered = kmeans(somedata, 5)
library(cluster)
clusplot(somedata, clustered$cluster, cex=0.1, ..??whatshouldgohere??..)