Skip to content

align

0.1.0

A Modified DTW Algorithm for Stratigraphic Time Series Alignment

0packages depend
3Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by Cedric HagenFirst published 2023-04-041 releasesCRAN page ↗

A dynamic time warping (DTW) algorithm for stratigraphic alignment, translated into R from the original published 'MATLAB' code by Hay et al. (2019) doi:10.1130/G46019.1. 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).

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 51 s · r-release-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
None
Vignettes
No
README
2
Dependencies · direct
Check history
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

3K
CRAN downloads in the past year
Rank #17,862 · ~8/day · ~254/mo
Daily download trend is not available in this view yet.
23130 days
65190 days
3K1 year
Compare downloads with other packages →
Also on175 r2u43 autocran

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (1)
R >= 2.10
Imports (2)
matlabstats
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 385 (84%)Rd 76 (16%)
Code characteristics
Cyclomatic complexity
61.0 median / 61 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

1 0 exported

Complexity

61 avg / 61 max

Call network

1 nodes / 0 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (0)

Author records are not tracked yet for this package.

Release timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2023-04-04
Total releases
1 / 3 yrs
License
GPL-3 OSI
Minimum R
≥ 2.10
Bundled data
1.8 KB / 2 files
Download size
6.0 KB
Installed size
not tracked yet
With dependencies
not tracked yet