Re: [R] estimate the number of clusters

2003-06-10 Thread Martin Maechler
MM == Martin Maechler [EMAIL PROTECTED] on Tue, 10 Jun 2003 18:12:36 +0200 writes: MM Ping, you found another bug in silhouette.default() -- MM which can happen when there's one cluster with exactly MM one observation. MM I'll let you know more, once I have a complete fix.

[R] estimate the number of clusters

2003-06-09 Thread ge yreyt
Dear All, I am using Silhouette to estimate the number of clusters in a microarray dataset. Initially, I used the iris data to test my piece of code as follows: library(cluster) data(iris) mydata-iris[,1:4] maxk-15# at most 15 clusters myindex-rep(0,maxk) # hold the si