powered by
Cluster time series at a slide level, based on Algorithm 1 of Ciampi_etal_2010;textualfuntimes.
CSlideCluster(X, Alpha = NULL, Beta = NULL, Delta = NULL, Theta = 0.8)
A vector of length ncol(X) with cluster labels.
ncol(X)
a matrix of time series observed within a slide (time series in columns).
lower limit of the time series domain. Default is quantile(X)[2] - 1.5*(quantile(X)[4] - quantile(X)[2]).
quantile(X)[2] -
1.5*(quantile(X)[4] - quantile(X)[2])
upper limit of the time series domain. Default is quantile(X)[2] + 1.5*(quantile(X)[4] - quantile(X)[2]).
quantile(X)[2] +
closeness parameter, a real value in \([0,1]\). Default is 0.1*(Beta - Alpha).
0.1*(Beta - Alpha)
connectivity parameter, a real value in \([0,1]\). Default is 0.8.
Vyacheslav Lyubchich
CSlideCluster, CWindowCluster, and BICC
CSlideCluster
CWindowCluster
BICC
set.seed(123) X <- matrix(rnorm(50), 10, 5) CSlideCluster(X)
Run the code above in your browser using DataLab