Learn R Programming

dtw (version 1.23-3)

Dynamic Time Warping Algorithms

Description

A comprehensive implementation of dynamic time warping (DTW) algorithms in R. DTW computes the optimal (least cumulative distance) alignment between points of two time series. Common DTW variants covered include local (slope) and global (window) constraints, subsequence matches, arbitrary distance definitions, normalizations, minimum variance matching, and so on. Provides cumulative distances, alignments, specialized plot styles, etc., as described in Giorgino (2009) .

Copy Link

Version

Install

install.packages('dtw')

Monthly Downloads

12,376

Version

1.23-3

License

GPL (>= 2)

Maintainer

Toni Giorgino

Last Published

June 9th, 2026

Functions in dtw (1.23-3)

dtwWindowingFunctions

Global constraints and windowing functions for DTW
mvm

Minimum Variance Matching algorithm
warp

Apply a warping to a given timeseries
warpArea

Compute Warping Path Area
stepPattern

Step patterns for DTW
dtwDist

Compute a dissimilarity matrix
dtwPlotDensity

Display the cumulative cost density with the warping path overimposed
dtw-internal

Internal dtw Functions
countPaths

Count the number of warping paths consistent with the constraints.
dtw

Dynamic Time Warp
aami

ANSI/AAMI EC13 Test Waveforms, 3a and 3b
dtwPlotThreeWay

Plotting of dynamic time warp results: annotated warping function
dtwPlotTwoWay

Plotting of dynamic time warp results: pointwise comparison
dtw-package

Comprehensive implementation of Dynamic Time Warping (DTW) algorithms in R.
dtwPlot

Plotting of dynamic time warp results