{
  "_id": "6a2822bba476d7de6d3c9192",
  "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-06-09 14:21:24 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",
  "MD5sum": "e287ba44ed09f14f793c2a07ab7e493a",
  "_user": "tonigi",
  "_type": "src",
  "_file": "dtw_1.23-3.tar.gz",
  "_fileid": "bcdbf3bf42476624214052cd759c410d4538f4f668fa7e70909b57d365153278",
  "_filesize": 1271050,
  "_sha256": "bcdbf3bf42476624214052cd759c410d4538f4f668fa7e70909b57d365153278",
  "_created": "2026-06-09T14:21:24.000Z",
  "_published": "2026-06-09T14:27:07.566Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80346191127,
      "time": 124,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7510588070"
    },
    {
      "job": 80346191159,
      "time": 103,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7510577363"
    },
    {
      "job": 80346191313,
      "time": 120,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7510587318"
    },
    {
      "job": 80346191142,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7510592434"
    },
    {
      "job": 80346191122,
      "time": 77,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7510565498"
    },
    {
      "job": 80346191170,
      "time": 204,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7510622916"
    },
    {
      "job": 80346191120,
      "time": 111,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7510580798"
    },
    {
      "job": 80346191223,
      "time": 310,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7510666968"
    },
    {
      "job": 80345585721,
      "time": 159,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7510528674"
    },
    {
      "job": 80346191393,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7510571951"
    },
    {
      "job": 80346191401,
      "time": 77,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7510565356"
    },
    {
      "job": 80346191402,
      "time": 85,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7510569082"
    },
    {
      "job": 80346191167,
      "time": 91,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7510571207"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tonigi/actions/runs/27212609529",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": 49,
  "_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 G",
    "description": "Computational biophysicist, et al."
  },
  "_downloads": {
    "count": 11727,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dtw"
  },
  "_mentions": 16,
  "_searchresults": 630,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dtw.html",
    "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": 9.035844809353668,
  "_indexed": true,
  "_nocasepkg": "dtw",
  "_universes": [
    "tonigi"
  ],
  "_previous": "1.23-2",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.23-3",
      "date": "2026-06-09T14:23:35.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "1de60626a1796afbeced9a4cf0527a10689548408773bebcbd0fa727dd357c14",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/27212609529"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.23-3",
      "date": "2026-06-09T14:23:09.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "e1003c110d368f98d860770da0afdc95c027bfa1264c0543229509859f840a70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/27212609529"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.23-3",
      "date": "2026-06-09T14:23:33.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "d8fc62bc8c40a5ee9f27dc366f5d35691ac4f9d0ad87f38c27ae8d01727f6091",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/27212609529"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.23-3",
      "date": "2026-06-09T14:23:41.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "59f37557b471446dbe60113c1e8e55a37d504762a373f676f3018628830c5715",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/27212609529"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.23-3",
      "date": "2026-06-09T14:22:47.000Z",
      "arch": "aarch64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "c4ad32fff928029f0a62a10b40a37f6592212c0044d7ab027b1f3480150f6e72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/27212609529"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.23-3",
      "date": "2026-06-09T14:24:39.000Z",
      "arch": "x86_64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "4fa08a44745fb859a11566c2930b12b1340f09dbd0bbd0589beb34c84015d986",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/27212609529"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.23-3",
      "date": "2026-06-09T14:23:11.000Z",
      "arch": "aarch64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "b35016ed99fbad8db22dc963c8c6d1edfed601c1212b4ff20c2e35b6132c3c90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/27212609529"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.23-3",
      "date": "2026-06-09T14:25:58.000Z",
      "arch": "x86_64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "a01a8879df1085f7d129f3ef4f4eb7f5ac513dabd1c57feed80f4a0a9251a7ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/27212609529"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.23-3",
      "date": "2026-06-09T14:23:11.000Z",
      "arch": "emscripten",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "2953411bea9bbe75aea414d405a53c4bdb65faa25d898453c629f1c0ffba0a29",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/27212609529"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.23-3",
      "date": "2026-06-09T14:22:30.000Z",
      "arch": "x86_64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "839118bc4d2ae42da581fed145d4d3dca5f3000b4822f19c345e15c3e7c59f6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/27212609529"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.23-3",
      "date": "2026-06-09T14:22:39.000Z",
      "arch": "x86_64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "89105ca85fcd22cd0ebd4f39ec9066a6a85e4171394d9e835ca5c195d7196404",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/27212609529"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.23-3",
      "date": "2026-06-09T14:22:48.000Z",
      "arch": "x86_64",
      "commit": "5a4aef71e14a3df0115104f58ffcdc3652859f12",
      "fileid": "6ad9b0da9a23dbf4a02f0030c852d7cf5ec2790fb5d4a77759a74aee7ec2f510",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tonigi/actions/runs/27212609529"
    }
  ]
}