Find the silhouettes (12.9) for K-means clustering from the data and and the groups' centers.
silhouette.km(x, centers)
The \(N \times P\) data matrix.
The \(K \times P\) matrix of centers (means) for the \(K\) Clusters, row \(k\) being the center for cluster \(K\).
The \(n\)-vector of silhouettes, indexed by the observations' indices.
This function is a bit different from the silhouette function in the cluster package, Maechler et al., 2005.