View source: R/silhouette.ct.R
silhouette.ct | R Documentation |
Computes the silhouette index, at a grid of time points, for a continuous-time
k-means clustering object produced by kmeans.ct
.
silhouette.ct(kmobj, ngrid = 5000)
kmobj |
continuous-time k-means clustering from |
ngrid |
number of equally spaced grid points at which to compute the silhouette index |
Object of class "silhouette.ct
", a list consisting of
grid |
grid of |
value |
silhouette index at each point along the grid |
transitions |
transition points between segments |
cluster |
cluster memberships in the segments defined by the transitions |
mean |
mean silhouette index |
An error is issued if the grid of time points contains one or more of the
cluster transition points. This should not ordinarily occur, but if it does, it can
be remedied by modifying ngrid
.
Philip Tzvi Reiss <reiss@stat.haifa.ac.il>
kmeans.ct
, which includes an example; plot.silhouette.ct
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.