{
  "_id": "6acce1d5a14063b82c3aa33b",
  "Package": "dtw",
  "Type": "Package",
  "Title": "Dynamic Time Warping Algorithms",
  "Description": "A comprehensive implementation of dynamic time warping\n(DTW) algorithms in R.  DTW computes the optimal (least\ncumulative distance) alignment between points of two time\nseries.  Common DTW variants covered include local (slope) and\nglobal (window) constraints, subsequence matches, arbitrary\ndistance definitions, normalizations, minimum variance\nmatching, and so on.  Provides cumulative distances,\nalignments, specialized plot styles, etc., as described in\nGiorgino (2009) <doi:10.18637/jss.v031.i07>.",
  "Authors@R": "person(\"Toni\",\"Giorgino\",email=\"toni.giorgino@gmail.com\",role=c(\"aut\",\"cre\"))",
  "Version": "1.23-3",
  "Date": "2026-6-8",
  "License": "GPL (>= 2)",
  "URL": "https://dynamictimewarping.github.io/",
  "Encoding": "UTF-8",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-12 13:27:58 UTC",
    "User": "root"
  },
  "Author": "Toni Giorgino [aut, cre]",
  "Maintainer": "Toni Giorgino <toni.giorgino@gmail.com>",
  "Repository": "https://tonigi.r-universe.dev",
  "Date/Publication": "2026-06-09 12:19:27 UTC",
  "RemoteUrl": "https://github.com/cran/dtw",
  "RemoteRef": "HEAD",
  "RemoteSha": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
  "_user": "tonigi",
  "_type": "src",
  "_file": "dtw_1.23-3.tar.gz",
  "_fileid": "https://r2.ropensci.org/871b42d2871545e8bc61a06367bf21c62ba66697705d9fbba412b77e231d2735",
  "_filesize": 1269907,
  "_sha256": "871b42d2871545e8bc61a06367bf21c62ba66697705d9fbba412b77e231d2735",
  "_expires": "2027-01-20T13:34:11.000Z",
  "_created": "2026-10-12T13:27:58.000Z",
  "_published": "2026-10-12T13:34:13.832Z",
  "_buildurl": "https://github.com/r-universe/tonigi/actions/runs/38255601190",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114833813601,
      "time": 81,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11750402075"
    },
    {
      "job": 114833813953,
      "time": 94,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11750112432"
    },
    {
      "job": 114833813799,
      "time": 76,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11749573212"
    },
    {
      "job": 114833813719,
      "time": 93,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11749583211"
    },
    {
      "job": 114833813787,
      "time": 141,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11750661576"
    },
    {
      "job": 114833813568,
      "time": 208,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11750466938"
    },
    {
      "job": 114833813585,
      "time": 190,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11749937734"
    },
    {
      "job": 114833813814,
      "time": 328,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11750043233"
    },
    {
      "job": 114832890057,
      "time": 137,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11749652574"
    },
    {
      "job": 114833813475,
      "time": 85,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11749742823"
    },
    {
      "job": 114833813667,
      "time": 323,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11750921639"
    },
    {
      "job": 114833813686,
      "time": 124,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11750940345"
    },
    {
      "job": 114833813729,
      "time": 75,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11750287191"
    },
    {
      "job": 114833813816,
      "time": 311,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11749623661"
    },
    {
      "job": 114833813604,
      "time": 76,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11750955061"
    }
  ],
  "_upstream": "https://github.com/cran/dtw",
  "_commit": {
    "id": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
    "author": "Toni Giorgino <toni.giorgino@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.23-3\n",
    "time": 1781007567
  },
  "_maintainer": {
    "name": "Toni Giorgino",
    "email": "toni.giorgino@gmail.com",
    "login": "tonigi",
    "mastodon": "@giorginolab@mstdn.science",
    "bluesky": "@giorginolab.bsky.social",
    "description": "Computational biophysicist, et al.",
    "uuid": 2752011
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10.0",
      "role": "Depends"
    },
    {
      "package": "proxy",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 46,
  "_updates": [
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.23-2",
      "date": "2026-04-09"
    },
    {
      "name": "1.23-3",
      "date": "2026-06-09"
    }
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "tonigi",
      "count": 15,
      "uuid": 2752011
    }
  ],
  "_userbio": {
    "uuid": 2752011,
    "type": "user",
    "name": "Toni Giorgino",
    "followers": 62,
    "description": "Computational biophysicist, et al."
  },
  "_downloads": {
    "count": 8078,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dtw"
  },
  "_mentions": 16,
  "_searchresults": 578,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dtw.html",
    "extra/manual.pdf"
  ],
  "_realowner": "tonigi",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1-2",
      "date": "2007-12-02"
    },
    {
      "version": "0.3-1",
      "date": "2007-12-07"
    },
    {
      "version": "0.4-2",
      "date": "2007-12-11"
    },
    {
      "version": "1.0-2",
      "date": "2007-12-12"
    },
    {
      "version": "1.2-1",
      "date": "2007-12-31"
    },
    {
      "version": "1.4-3",
      "date": "2008-01-09"
    },
    {
      "version": "1.5-3",
      "date": "2008-02-22"
    },
    {
      "version": "1.6-2",
      "date": "2008-05-30"
    },
    {
      "version": "1.9-1",
      "date": "2008-06-20"
    },
    {
      "version": "1.12-3",
      "date": "2008-09-28"
    },
    {
      "version": "1.12-5",
      "date": "2009-01-07"
    },
    {
      "version": "1.13-1",
      "date": "2009-07-01"
    },
    {
      "version": "1.14-1",
      "date": "2009-08-14"
    },
    {
      "version": "1.14-3",
      "date": "2012-01-15"
    },
    {
      "version": "1.15",
      "date": "2012-08-22"
    },
    {
      "version": "1.16",
      "date": "2013-05-28"
    },
    {
      "version": "1.17-1",
      "date": "2013-12-11"
    },
    {
      "version": "1.18-1",
      "date": "2015-09-01"
    },
    {
      "version": "1.20-1",
      "date": "2018-05-18"
    },
    {
      "version": "1.21-1",
      "date": "2019-08-22"
    },
    {
      "version": "1.21-3",
      "date": "2019-09-01"
    },
    {
      "version": "1.22-3",
      "date": "2020-09-28"
    },
    {
      "version": "1.23-1",
      "date": "2022-09-19"
    },
    {
      "version": "1.23-2",
      "date": "2026-04-09"
    },
    {
      "version": "1.23-3",
      "date": "2026-06-09"
    }
  ],
  "_exports": [
    "asymmetric",
    "asymmetricP0",
    "asymmetricP05",
    "asymmetricP1",
    "asymmetricP2",
    "countPaths",
    "dtw",
    "dtwDist",
    "dtwPlot",
    "dtwPlotAlignment",
    "dtwPlotDensity",
    "dtwPlotThreeWay",
    "dtwPlotTwoWay",
    "dtwWindow.plot",
    "is.dtw",
    "is.stepPattern",
    "itakuraWindow",
    "mori2006",
    "mvmStepPattern",
    "noWindow",
    "rabinerJuangStepPattern",
    "rigid",
    "sakoeChibaWindow",
    "slantedBandWindow",
    "symmetric1",
    "symmetric2",
    "symmetricP0",
    "symmetricP05",
    "symmetricP1",
    "symmetricP2",
    "typeIa",
    "typeIas",
    "typeIb",
    "typeIbs",
    "typeIc",
    "typeIcs",
    "typeId",
    "typeIds",
    "typeIIa",
    "typeIIb",
    "typeIIc",
    "typeIId",
    "typeIIIc",
    "typeIVc",
    "warp",
    "warpArea"
  ],
  "_datasets": [
    {
      "name": "aami3a",
      "title": "ANSI/AAMI EC13 Test Waveforms, 3a and 3b",
      "object": "aami3a",
      "file": "aami3a.rda",
      "class": [
        "ts"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "aami3b",
      "title": "ANSI/AAMI EC13 Test Waveforms, 3a and 3b",
      "object": "aami3b",
      "file": "aami3b.rda",
      "class": [
        "ts"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "dtw-package",
      "title": "Comprehensive implementation of Dynamic Time Warping (DTW) algorithms in R.",
      "topics": [
        "dtw-package"
      ]
    },
    {
      "page": "aami",
      "title": "ANSI/AAMI EC13 Test Waveforms, 3a and 3b",
      "topics": [
        "aami",
        "aami3a",
        "aami3b"
      ]
    },
    {
      "page": "countPaths",
      "title": "Count the number of warping paths consistent with the constraints.",
      "topics": [
        "countPaths"
      ]
    },
    {
      "page": "dtw",
      "title": "Dynamic Time Warp",
      "concept": [
        "Align timeseries",
        "Distance",
        "Dynamic Time Warp",
        "Dynamic programming",
        "Minimum cumulative cost"
      ],
      "topics": [
        "dtw",
        "is.dtw",
        "print.dtw"
      ]
    },
    {
      "page": "dtwDist",
      "title": "Compute a dissimilarity matrix",
      "topics": [
        "dtwDist"
      ]
    },
    {
      "page": "dtwPlot",
      "title": "Plotting of dynamic time warp results",
      "concept": [
        "plot"
      ],
      "topics": [
        "dtwPlot",
        "dtwPlotAlignment",
        "plot.dtw"
      ]
    },
    {
      "page": "dtwPlotDensity",
      "title": "Display the cumulative cost density with the warping path overimposed",
      "concept": [
        "plot"
      ],
      "topics": [
        "dtwPlotDensity"
      ]
    },
    {
      "page": "dtwPlotThreeWay",
      "title": "Plotting of dynamic time warp results: annotated warping function",
      "concept": [
        "plot"
      ],
      "topics": [
        "dtwPlotThreeWay"
      ]
    },
    {
      "page": "dtwPlotTwoWay",
      "title": "Plotting of dynamic time warp results: pointwise comparison",
      "concept": [
        "plot"
      ],
      "topics": [
        "dtwPlotTwoWay"
      ]
    },
    {
      "page": "dtwWindowingFunctions",
      "title": "Global constraints and windowing functions for DTW",
      "topics": [
        "dtwWindow.plot",
        "dtwWindowingFunctions",
        "itakuraWindow",
        "noWindow",
        "sakoeChibaWindow",
        "slantedBandWindow"
      ]
    },
    {
      "page": "mvm",
      "title": "Minimum Variance Matching algorithm",
      "concept": [
        "step patterns"
      ],
      "topics": [
        "mvm",
        "mvmStepPattern"
      ]
    },
    {
      "page": "stepPattern",
      "title": "Step patterns for DTW",
      "concept": [
        "step patterns"
      ],
      "topics": [
        "asymmetric",
        "asymmetricP0",
        "asymmetricP05",
        "asymmetricP1",
        "asymmetricP2",
        "is.stepPattern",
        "mori2006",
        "plot.stepPattern",
        "print.stepPattern",
        "rabinerJuangStepPattern",
        "rigid",
        "stepPattern",
        "symmetric1",
        "symmetric2",
        "symmetricP0",
        "symmetricP05",
        "symmetricP1",
        "symmetricP2",
        "t.stepPattern",
        "typeIa",
        "typeIas",
        "typeIb",
        "typeIbs",
        "typeIc",
        "typeIcs",
        "typeId",
        "typeIds",
        "typeIIa",
        "typeIIb",
        "typeIIc",
        "typeIId",
        "typeIIIc",
        "typeIVc"
      ]
    },
    {
      "page": "warp",
      "title": "Apply a warping to a given timeseries",
      "topics": [
        "warp"
      ]
    },
    {
      "page": "warpArea",
      "title": "Compute Warping Path Area",
      "topics": [
        "warpArea"
      ]
    }
  ],
  "_rundeps": [
    "proxy"
  ],
  "_vignettes": [
    {
      "source": "dtw.Rnw",
      "filename": "dtw.pdf",
      "title": "Computing and Visualizing Dynamic Time Warping Alignments in R: The dtw Package",
      "engine": "utils::Sweave",
      "headings": [
        "Introduction",
        "Definition of the algorithm",
        "Computing alignments",
        "Displaying alignments"
      ],
      "created": "2013-12-11",
      "modified": "2019-08-21 21:10:05",
      "commits": 4
    }
  ],
  "_score": 8.809110773655735,
  "_indexed": true,
  "_nocasepkg": "dtw",
  "_universes": [
    "tonigi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.23-3",
      "date": "2026-10-12T13:29:23.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "https://r2.ropensci.org/a9fa816570ba8525dca68dafbd637bb47c05c381a0a77e24d71a697449f573c0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/38255601190"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.23-3",
      "date": "2026-10-12T13:29:31.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "https://r2.ropensci.org/9a4c8996c40466403159ac936a13f9fa00616c0c196151fcccf767dd104f9370",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/38255601190"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.23-3",
      "date": "2026-10-12T13:29:40.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "https://r2.ropensci.org/828b587350d2f60d3ad8121c02398a2c77799fd1fda44f14c511e42e92be19aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/38255601190"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.23-3",
      "date": "2026-10-12T13:29:49.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "https://r2.ropensci.org/7cbf54d4b60468b7df07784b457b935e000052a599bd4f73024d31695b993410",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/38255601190"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.23-3",
      "date": "2026-10-12T13:29:56.000Z",
      "arch": "aarch64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "https://r2.ropensci.org/6adceb85a357bcb7c9ee2ce8c1fdef202c513c4549b503c4b8aeccf01faf52d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/38255601190"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.23-3",
      "date": "2026-10-12T13:31:04.000Z",
      "arch": "x86_64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "https://r2.ropensci.org/385d166db5c81462fc2aa7e7fa7125692af41857a5683ac8862de6335913079b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/38255601190"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.23-3",
      "date": "2026-10-12T13:30:21.000Z",
      "arch": "aarch64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "https://r2.ropensci.org/0af2b40b29fa76ca6e95d49082bd0317889846ff879617878b13160a1c828f2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/38255601190"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.23-3",
      "date": "2026-10-12T13:32:23.000Z",
      "arch": "x86_64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "https://r2.ropensci.org/dbdb9688287827b806528eb5171c6eeec17781cc89ba7b562764f340d3d5569c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/38255601190"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.23-3",
      "date": "2026-10-12T13:29:43.000Z",
      "arch": "emscripten",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "https://r2.ropensci.org/48f71bf0a87deca96eff42d0a9a65e706a8110a83da88706b7bd7ea3d2a6bbd7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/38255601190"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.23-3",
      "date": "2026-10-12T13:32:45.000Z",
      "arch": "aarch64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "https://r2.ropensci.org/5831e214474386b46148309d1117bf2c1c33148d14d850ce209bb6f1a1146cc2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/38255601190"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.23-3",
      "date": "2026-10-12T13:29:16.000Z",
      "arch": "x86_64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "https://r2.ropensci.org/b0458e741febf9d26000a8055484836f672e434cdd39102765f91e7e370130d5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/38255601190"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.23-3",
      "date": "2026-10-12T13:29:03.000Z",
      "arch": "x86_64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "https://r2.ropensci.org/4a016cbe9b7160c5b5d1bafc96cc9f298675f18881291b492bb6329187cae4b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/38255601190"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.23-3",
      "date": "2026-10-12T13:32:27.000Z",
      "arch": "aarch64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "https://r2.ropensci.org/bf1f7e3a505e5b501d9217cbaa309d715f262a078c4e0174ffe659dc3c851925",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/38255601190"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.23-3",
      "date": "2026-10-12T13:29:02.000Z",
      "arch": "x86_64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "https://r2.ropensci.org/3f550b8b1be9b9b0ccecb78a271305c90ab8e12041eed0ca2a5e7b6993ff29dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/38255601190"
    }
  ]
}