Learn R Programming

twdtw

Implements Time-Weighted Dynamic Time Warping (TWDTW), a measure for quantifying time series similarity. The TWDTW algorithm, described in Maus et al. (2016) and Maus et al. (2019), 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.

References

Maus, V., Camara, G., Cartaxo, R., Sanchez, A., Ramos, F. M., & de Moura, Y. M. (2016). A Time-Weighted Dynamic Time Warping Method for Land-Use and Land-Cover Mapping. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 9(8), 3729-3739. 10.1109/JSTARS.2016.2517118

Maus, V., Camara, G., Appel, M., & Pebesma, E. (2019). dtwSat: Time-Weighted Dynamic Time Warping for Satellite Image Time Series Analysis in R. Journal of Statistical Software, 88(5), 1-31. 10.18637/jss.v088.i05

Copy Link

Version

Install

install.packages('twdtw')

Monthly Downloads

265

Version

1.0-1

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Victor Maus

Last Published

August 8th, 2023

Functions in twdtw (1.0-1)

print.twdtw

Print method for twdtw class
plot_cost_matrix

Plot TWDTW cost matrix
date_to_numeric_cycle

Convert Date/POSIXct to a Numeric Cycle
max_cycle_length

Calculate the Maximum Possible Value of a Time Cycle
twdtw

Calculate Time-Weighted Dynamic Time Warping (TWDTW) distance