summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-03-02 23:06:10 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-03-02 23:06:10 +0100
commit4993a02ad70b3fb152bfb2b9f91ab9fc590220f4 (patch)
treeef9e75a4439ebc83e68b1eceb177df7faf37666c /gnu/packages/cran.scm
parenta2c079a780b8a8c552577eb43f6d855e7fede2c6 (diff)
downloadguix-4993a02ad70b3fb152bfb2b9f91ab9fc590220f4.tar.gz
gnu: Add r-tsa.
* gnu/packages/cran.scm (r-tsa): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b6610cb93f..750e82ad60 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -2472,3 +2472,29 @@ computational finance.")
 for Time Series Analysis\", Donald B. Percival and Andrew T. Walden, Cambridge
 University Press, 2000.")
     (license license:gpl2)))
+
+(define-public r-tsa
+  (package
+    (name "r-tsa")
+    (version "1.01")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "TSA" version))
+       (sha256
+        (base32
+         "0cm97hwxm6vfgy9mc3kgwq6dnmn86p8a4avnfjbai048qnwrn6hx"))))
+    (properties `((upstream-name . "TSA")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-leaps" ,r-leaps)
+       ("r-locfit" ,r-locfit)
+       ("r-mgcv" ,r-mgcv)
+       ("r-tseries" ,r-tseries)))
+    (home-page "http://www.stat.uiowa.edu/~kchan/TSA.htm")
+    (synopsis "Time series analysis")
+    (description
+     "This package contains R functions and datasets detailed in the book
+\"Time Series Analysis with Applications in R (second edition)\" by Jonathan
+Cryer and Kung-Sik Chan.")
+    (license license:gpl2+)))