TY - JOUR AU - Giorgino, Toni PY - 2009/08/14 Y2 - 2024/03/29 TI - Computing and Visualizing Dynamic Time Warping Alignments in R: The dtw Package JF - Journal of Statistical Software JA - J. Stat. Soft. VL - 31 IS - 7 SE - Articles DO - 10.18637/jss.v031.i07 UR - https://www.jstatsoft.org/index.php/jss/article/view/v031i07 SP - 1 - 24 AB - Dynamic time warping is a popular technique for comparing time series, providing both a distance measure that is insensitive to local compression and stretches and the warping which optimally deforms one of the two input series onto the other. A variety of algorithms and constraints have been discussed in the literature. The <b>dtw</b> package provides an unification of them; it allows R users to compute time series alignments mixing freely a variety of continuity constraints, restriction windows, endpoints, local distance definitions, and so on. The package also provides functions for visualizing alignments and constraints using several classic diagram types. ER -