IncDTW: Incremental Calculation of Dynamic Time Warping

The Dynamic Time Warping (DTW) distance measure for time series allows non-linear alignments of time series to match similar patterns in time series of different lengths and or different speeds. IncDTW is characterized by (1) the incremental calculation of DTW (reduces runtime complexity to a linear level for updating the DTW distance) - especially for life data streams or subsequence matching, (2) the vector based implementation of DTW which is faster because no matrices are allocated (reduces the space complexity from a quadratic to a linear level in the number of observations) - for all runtime intensive DTW computations, (3) the subsequence matching algorithm runDTW, that efficiently finds the k-NN to a query pattern in a long time series, and (4) C++ in the heart. For details about DTW see the original paper "Dynamic programming algorithm optimization for spoken word recognition" by Sakoe and Chiba (1978) <doi:10.1109/TASSP.1978.1163055>.

Version: 1.1.0
Depends: R (≥ 2.10)
Imports: Rcpp (≥ 0.12.8), RcppParallel, ggplot2, scales, parallel, stats, data.table
LinkingTo: Rcpp, RcppParallel, RcppArmadillo
Suggests: knitr, dtw, rmarkdown, gridExtra, testthat, dtwclust, parallelDist, microbenchmark, rucrdtw, proxy, R.rsp
Published: 2019-04-08
Author: Maximilian Leodolter
Maintainer: Maximilian Leodolter <maximilian.leodolter at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
SystemRequirements: GNU make
CRAN checks: IncDTW results


Reference manual: IncDTW.pdf
Vignettes: Incremental Dynamic Time Warping
IncDTW: An R Package for Incremental Calculation of Dynamic Time Warping
Package source: IncDTW_1.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X binaries: r-release: IncDTW_1.1.0.tgz, r-oldrel: IncDTW_1.0.5.tgz
Old sources: IncDTW archive


Please use the canonical form to link to this page.