query on command "silhouette(X,clust)"
1 view (last 30 days)
Tom Lane on 28 Apr 2015
Normally if you a clustering an N-by-P matrix, CLUST will be a vector of length N that will be 1 for the points in the first cluster, 2 for the points in the second cluster, and so on. But if you are clustering columns rather than rows, you may need to transpose X.