Learn R Programming

dtwclust (version 2.1.2)

dtwclustFamily-class: Class definition for dtwclustFamily

Description

Formal S4 class with a family of functions used in dtwclust.

Arguments

Slots

dist
The function to calculate the distance matrices.
allcent
The function to calculate centroids at each iteration.
cluster
The function used to assign a series to a cluster.
preproc
The function used to preprocess the data (relevant for predict).

Details

The custom implementations also handle parallelization.

Since the distance function makes use of proxy, it also supports any extra dist parameters in ....

The prototype includes the cluster function for partitional methods, as well as a pass-through preproc function.