DTWdistance | R Documentation |
Dynamic Time Warping distance based an Non-Euclidean pairwise distances
DTWdistance(Data, DistanceFunction = proxy::dist, ...)
Data |
[1:n,1:d] matrix with d Timeseries of the length n |
DistanceFunction |
A function which calculates the pairwise distances in the same way as |
... |
Further Arguments for DistanceFunction |
Currently only implemented for time series of same length. Distances in DistanceFunction
should be calculated the same ways as in a two-dimensional data matrix with the output of the function being object of class dist
.
[1:d,1:d] symmetric matrix of distances
Michael Thrun
[Giorgino, 2009] Giorgino, T.: Computing and visualizing dynamic time warping alignments in R: the dtw package, Journal of statistical Software, Vol. 31(7), pp. 1-24. 2009.
dtw
dd=DTWdistance(Data,DistanceFunction = proxy::dist,method='Manhattan')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.