Learn R Programming

IncDTW (version 1.1.4.5)

Incremental Calculation of Dynamic Time Warping

Description

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) . For details about this package, Dynamic Time Warping and Incremental Dynamic Time Warping please see "IncDTW: An R Package for Incremental Calculation of Dynamic Time Warping" by Leodolter et al. (2021) .

Copy Link

Version

Install

install.packages('IncDTW')

Monthly Downloads

2,639

Version

1.1.4.5

License

GPL (>= 2)

Maintainer

Maximilian Leodolter

Last Published

October 7th, 2025

Functions in IncDTW (1.1.4.5)

lowerbound

lowerbound
plot.rundtw

Plot
initialize_plane

Initialize and navigate in the plane of possible fits
plot.idtw

Plot the results from Dynamic Time Warping
rundtw

rundtw
plot.dba

Plot the results from Dynamic Time Warping Barycenter Averaging
scale

Time Series Scaling
simulate_timewarp

Simulate time warp
idtw2vec

Incremental vector-based DTW
IncDTW-package

Incremental Dynamic Time Warping
find_peaks

find_peaks
drink_glass

Accelerometer: drink a glass, walk, brush teeth.
dtw_dismat

DTW Distance Matrix/ Distance Vector
dec_dm

Decrement the Warping Path
dtw_partial

Partial Dynamic Time Warping
idtw

Incremental DTW
dtw

Dynamic Time Warping
dba

Dynamic Time Warping Barycenter Averaging
dtw2vec

Fast vector-based Dynamic Time Warping