Learn R Programming

align (version 0.1.0)

A Modified DTW Algorithm for Stratigraphic Time Series Alignment

Description

A dynamic time warping (DTW) algorithm for stratigraphic alignment, translated into R from the original published 'MATLAB' code by Hay et al. (2019) . The DTW algorithm incorporates two geologically relevant parameters (g and edge) for augmenting the typical DTW cost matrix, allowing for a range of sedimentologic and chronologic conditions to be explored, as well as the generation of an alignment library (as opposed to a single alignment solution). The g parameter relates to the relative sediment accumulation rate between the two time series records, while the edge parameter relates to the amount of total shared time between the records. Note that this algorithm is used for all DTW alignments in the Align Shiny application, detailed in Hagen et al. (in review).

Copy Link

Version

Install

install.packages('align')

Monthly Downloads

361

Version

0.1.0

License

GPL-3

Maintainer

Cedric Hagen

Last Published

April 4th, 2023

Functions in align (0.1.0)

dtw_r

dtw_r
target_data

Synthetic Target Data
candidate_data

Synthetic Candidate Data