Package: dtw 1.23-2
dtw: Dynamic Time Warping Algorithms
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) <doi:10.18637/jss.v031.i07>.
Authors:
dtw_1.23-2.tar.gz
dtw_1.23-2.zip(r-4.7)dtw_1.23-2.zip(r-4.6)dtw_1.23-2.zip(r-4.5)
dtw_1.23-2.tgz(r-4.6-x86_64)dtw_1.23-2.tgz(r-4.6-arm64)dtw_1.23-2.tgz(r-4.5-x86_64)dtw_1.23-2.tgz(r-4.5-arm64)
dtw_1.23-2.tar.gz(r-4.7-arm64)dtw_1.23-2.tar.gz(r-4.7-x86_64)dtw_1.23-2.tar.gz(r-4.6-arm64)dtw_1.23-2.tar.gz(r-4.6-x86_64)
dtw_1.23-2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
dtw/json (API)
| # Install 'dtw' in R: |
| install.packages('dtw', repos = c('https://tonigi.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:824b057180. Checks:12 OK, 1 ERROR. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 119 | ||
| linux-devel-x86_64 | OK | 99 | ||
| source / vignettes | ERROR | 194 | ||
| linux-release-arm64 | OK | 98 | ||
| linux-release-x86_64 | OK | 103 | ||
| macos-release-arm64 | OK | 147 | ||
| macos-release-x86_64 | OK | 233 | ||
| macos-oldrel-arm64 | OK | 197 | ||
| macos-oldrel-x86_64 | OK | 275 | ||
| windows-devel | OK | 83 | ||
| windows-release | OK | 85 | ||
| windows-oldrel | OK | 85 | ||
| wasm-release | OK | 90 |
Exports:asymmetricasymmetricP0asymmetricP05asymmetricP1asymmetricP2countPathsdtwdtwDistdtwPlotdtwPlotAlignmentdtwPlotDensitydtwPlotThreeWaydtwPlotTwoWaydtwWindow.plotis.dtwis.stepPatternitakuraWindowmori2006mvmStepPatternnoWindowrabinerJuangStepPatternrigidsakoeChibaWindowslantedBandWindowsymmetric1symmetric2symmetricP0symmetricP05symmetricP1symmetricP2typeIatypeIastypeIbtypeIbstypeIctypeIcstypeIdtypeIdstypeIIatypeIIbtypeIIctypeIIdtypeIIIctypeIVcwarpwarpArea
Dependencies:proxy
Computing and Visualizing Dynamic Time Warping Alignments in R: The dtw Package
Rendered fromdtw.Rnwusingutils::Sweaveon May 09 2026.Last update: 2019-08-21
Started: 2013-12-11
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Comprehensive implementation of Dynamic Time Warping (DTW) algorithms in R. | dtw-package |
| ANSI/AAMI EC13 Test Waveforms, 3a and 3b | aami aami3a aami3b |
| Count the number of warping paths consistent with the constraints. | countPaths |
| Dynamic Time Warp | dtw is.dtw print.dtw |
| Compute a dissimilarity matrix | dtwDist |
| Plotting of dynamic time warp results | dtwPlot dtwPlotAlignment plot.dtw |
| Display the cumulative cost density with the warping path overimposed | dtwPlotDensity |
| Plotting of dynamic time warp results: annotated warping function | dtwPlotThreeWay |
| Plotting of dynamic time warp results: pointwise comparison | dtwPlotTwoWay |
| Global constraints and windowing functions for DTW | dtwWindow.plot dtwWindowingFunctions itakuraWindow noWindow sakoeChibaWindow slantedBandWindow |
| Minimum Variance Matching algorithm | mvm mvmStepPattern |
| Step patterns for DTW | asymmetric asymmetricP0 asymmetricP05 asymmetricP1 asymmetricP2 is.stepPattern mori2006 plot.stepPattern print.stepPattern rabinerJuangStepPattern rigid stepPattern symmetric1 symmetric2 symmetricP0 symmetricP05 symmetricP1 symmetricP2 t.stepPattern typeIa typeIas typeIb typeIbs typeIc typeIcs typeId typeIds typeIIa typeIIb typeIIc typeIId typeIIIc typeIVc |
| Apply a warping to a given timeseries | warp |
| Compute Warping Path Area | warpArea |
