Skip to content

twdtw

1.0-1

Time-Weighted Dynamic Time Warping

1packages depend
5.8Kdownloads / year
89.9%test coverage
13/13checks pass

Overview

About
Maintained by Victor MausFirst published 2023-07-132 releasesCRAN page ↗GitHub ↗

Implements Time-Weighted Dynamic Time Warping (TWDTW), a measure for quantifying time series similarity. The TWDTW algorithm, described in Maus et al. (2016) doi:10.1109/JSTARS.2016.2517118 and Maus et al. (2019) doi:10.18637/jss.v088.i05, is applicable to multi-dimensional time series of various resolutions. It is particularly suitable for comparing time series with seasonality for environmental and ecological data analysis, covering domains such as remote sensing imagery, climate data, hydrology, and animal movement. The 'twdtw' package offers a user-friendly 'R' interface, efficient 'Fortran' routines for TWDTW calculations, flexible time weighting definitions, as well as utilities for time series preprocessing and visualization.

Install

Health

CRAN checks
13OK
Slowest check: 2.9 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.47
89.9%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 178 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
20%

Downloads

5.8K
CRAN downloads in the past year
Rank #11,353 · ~16/day · ~486/mo
Daily download trend is not available in this view yet.
24130 days
87890 days
5.8K1 year
Compare downloads with other packages →
Also on415 r2u11 autocran1.1K conda_forge19 c2d4u

Repository

Repository
10Stars
1Forks
3Open issues
0Open PRs
1Releases
97Commits
1Contributors
License GPL-3.0 · 97 commits · Last activity 2023-12-26 · 0% stars, 30d

Stars over time

2025-04-28 · 92026-07-07 · 10

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/vwmaus/twdtw on 2026-08-09.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (2)
LinkingTo (1)
Suggests (2)
Enhances (0)
none
Reverse dependencies
1direct
1indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0-1Latest
    2023-08-08 · current release · diff ↗
  • 1.0-0
    2023-07-13
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-07-13
Total releases
2 / 3 yrs
License
GPL (>= 3) OSI
Download size
38 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("twdtw")
Maus, V. (2023). twdtw: Time-Weighted Dynamic Time Warping (Version 1.0-1) [Computer software]. https://doi.org/10.32614/CRAN.package.twdtw

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 twdtw version 1.0-1 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, 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