Skip to content

IncDTW

1.1.4.6Package record

Incremental Calculation of Dynamic Time Warping

0packages dependsuggested by 1
16.2Kdownloads / year
67.0%test coverage
13/13flavors OK

Overview

About

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) DOI:10.1109/TASSP.1978.1163055. 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) doi:10.18637/jss.v099.i09.

Install

Health

CRAN checks
13OK
Slowest check: 5.2 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-10-15
  • WARNING12 OK, 1 WARNING2026-10-01
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-30
Show 5 earlier changesHide 5 earlier changes
  • WARNING12 OK, 1 WARNING2026-07-27
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-04-22
  • ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.1.4.6
READMENoVignettesYes · 1 · staticNEWSYes · 100% structured · does not mention 1.1.4.6Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Cites a JSS article
Help pages
19includes a package overview page
Examples that run
56%10 run in a plain check · 7 never run · 1 hold no code
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
78%
Help pages citing references
53%

Downloads

16.2K
CRAN downloads in the past year
Rank #4,193 · ~44/day · ~1.3K/mo
Daily download trend is not available in this view yet.
84030 days
2.1K90 days
16.2K1 year
Compare downloads with other packages →
Also on621 r2u4 autocran100 c2d4u

Dependencies

Declared dependencies
23 external dependencies (excludes base and recommended)

Installing IncDTW adds 21 packages (11 with compiled code, 23 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, Rcpp 1.8 MB.

Depends (1)
R >= 2.10
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2017)
Releases (20)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.4.6Latest
    record
    2026-01-09 · current release · diff ↗
  • 1.1.4.5
    record
    2025-10-07 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.1.4.4
    record
    2022-03-16 · diff ↗
  • 1.1.4.3
    record
    2021-09-23 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1.4.2
    record
    2020-10-09 · diff ↗ ·
    added 2 exports
    lowerbound, lowerbound_tube
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.3.1
    record
    2020-04-01 · diff ↗
  • 1.1.3
    record
    2019-12-18 · diff ↗ ·
    added 1 export
    scale
  • 1.1.2
    record
    2019-06-27 · diff ↗ ·
    added 16 exports
    dba, insert_const, insert_linear_interp, insert_norm, insert_linear_norm, initialize_plane, increment, decrement, reverse, refresh, is.planedtw, plot_planedtw, is.rundtw, plot_rundtw, is.idtw, is.dba
  • 1.1.1
    record
    2019-05-24 · diff ↗
Show 14 earlier eventsHide 14 earlier events
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1.0
    record
    2019-04-08 · diff ↗ ·
    added 2 exports
    rundtw, find_peaks
  • 1.0.5
    record
    2019-01-03 · diff ↗ ·
    added 1 export
    simulate_timewarp
  • 1.0.4
    record
    2018-09-11 · diff ↗ ·
    added 15 exports
    dtw2vec_univ, dtw2vec_multiv, idtw2vec_univ, idtw2vec_multiv, cm, dtw_partial, norm, dtw_dismat, dtw_disvec, DBA, centroid, plot_dba, plotBary, plotM2m, plotM2lot
  • 1.0.3
    record
    2018-05-14 · diff ↗
  • 1.0.2
    record
    2018-05-11 · diff ↗ ·
    added 2 exports
    dtw2vec, idtw2vec
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0.1
    record
    2018-01-13 · diff ↗
  • 1.0.0
    record
    2017-10-10 · diff ↗
  • 0.1.3
    record
    2017-08-23 · diff ↗
  • 0.1.2
    record
    2017-08-23 · diff ↗ ·
    added 3 exports
    plot_idtw, plotQC, plotWarp
  • 0.1.1
    record
    2017-08-04 · diff ↗ ·
    added 1 export
    dec_dm
  • 0.1.0
    record
    2017-07-03
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-07-03
Total releases
20 / 9 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 2.10
Bundled data
506 KB / 3 files
Download size
1.5 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("IncDTW")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.18637/jss.v099.i09.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for IncDTW version 1.1.4.6 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy