To cite dtw in publications use:

Giorgino T (2009). “Computing and Visualizing Dynamic Time Warping Alignments in R: The dtw Package.” Journal of Statistical Software, 31(7), 1–24. doi:10.18637/jss.v031.i07.

For partial matching and normalization strategies also cite:

Tormene P, Giorgino T, Quaglini S, Stefanelli M (2008). “Matching Incomplete Time Series with Dynamic Time Warping: An Algorithm and an Application to Post-Stroke Rehabilitation.” Artificial Intelligence in Medicine, 45(1), 11–34. doi:10.1016/j.artmed.2008.11.007.

Corresponding BibTeX entries:

  @Article{,
    title = {Computing and Visualizing Dynamic Time Warping Alignments
      in {R}: The {dtw} Package},
    author = {Toni Giorgino},
    journal = {Journal of Statistical Software},
    year = {2009},
    volume = {31},
    number = {7},
    pages = {1--24},
    doi = {10.18637/jss.v031.i07},
  }
  @Article{,
    title = {Matching Incomplete Time Series with Dynamic Time Warping:
      An Algorithm and an Application to Post-Stroke Rehabilitation},
    author = {Paolo Tormene and Toni Giorgino and Silvana Quaglini and
      Mario Stefanelli},
    journal = {Artificial Intelligence in Medicine},
    year = {2008},
    volume = {45},
    number = {1},
    pages = {11--34},
    doi = {10.1016/j.artmed.2008.11.007},
  }