summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-12-18 11:58:48 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-12-18 12:01:34 +0100
commitbf025ff6f2b922fd7a8c4205812842354c2cffae (patch)
treeac1784dff2c961a38c875aa0820f0cd8923655a2
parentae1642600707e35e1541f8d488cd5ffb5699ecb2 (diff)
downloadguix-bf025ff6f2b922fd7a8c4205812842354c2cffae.tar.gz
gnu: Add r-dtw.
* gnu/packages/cran.scm (r-dtw): New variable.
-rw-r--r--gnu/packages/cran.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 24076c5ef4..e97069b968 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1662,3 +1662,26 @@ Analysis} (ICA) using various algorithms: FastICA,
 Information-Maximization (Infomax), and @dfn{Joint Approximate Diagonalization
 of Eigenmatrices} (JADE).")
     (license license:gpl2+)))
+
+(define-public r-dtw
+  (package
+    (name "r-dtw")
+    (version "1.18-1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "dtw" version))
+       (sha256
+        (base32
+         "1b91vahba09cqlb8b1ry4dlv4rbldb4s2p6w52gmyw31vxdv5nnr"))))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-proxy" ,r-proxy)))
+    (home-page "http://dtw.r-forge.r-project.org/")
+    (synopsis "Dynamic Time Warping Algorithms")
+    (description "This package provides a comprehensive implementation of
+@dfn{dynamic time warping} (DTW) algorithms in R.  DTW computes the
+optimal (least cumulative distance) alignment between points of two time
+series.  Common DTW variants covered include local (slope) and global (window)
+constraints, subsequence matches, arbitrary distance definitions,
+normalizations, minimum variance matching, and so on.")
+    (license license:gpl2+)))