silhouette.ct {ctmva} | R Documentation |
Silhouettes for continuous-time k-means clustering
Description
Computes the silhouette index, at a grid of time points, for a continuous-time
k-means clustering object produced by kmeans.ct
.
Usage
silhouette.ct(kmobj, ngrid = 5000)
Arguments
kmobj |
continuous-time k-means clustering from |
ngrid |
number of equally spaced grid points at which to compute the silhouette index |
Value
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 |
Note
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
.
Author(s)
Philip Tzvi Reiss <reiss@stat.haifa.ac.il>
See Also
kmeans.ct
, which includes an example; plot.silhouette.ct