aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-12-15 12:11:39 +0100
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-12-21 17:13:44 +0100
commit4c1f2705b561578384f057ae2da36bbd7d546419 (patch)
tree1fe97bb3fa3b9eb6a2aa025905f5b1807acd1950 /gnu
parentbb6d2dadf72f8d6ac47acf74f5d796eddb4c15fd (diff)
downloadpatches-4c1f2705b561578384f057ae2da36bbd7d546419.tar
patches-4c1f2705b561578384f057ae2da36bbd7d546419.tar.gz
gnu: Add r-catools.
* gnu/packages/statistics.scm (r-catools): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/statistics.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 2878afb873..0afa99912e 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1403,3 +1403,26 @@ the header files from the templated Armadillo library.")
"This package provides functions for bitwise operations on integer
vectors.")
(license license:gpl2+)))
+
+(define-public r-catools
+ (package
+ (name "r-catools")
+ (version "1.17.1")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "caTools" version))
+ (sha256
+ (base32
+ "1x4szsn2qmbzpyjfdaiz2q7jwhap2gky9wq0riah74q0pzz76ank"))))
+ (properties `((upstream-name . "caTools")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-bitops" ,r-bitops)))
+ (home-page "http://cran.r-project.org/web/packages/caTools")
+ (synopsis "Various tools including functions for moving window statistics")
+ (description
+ "This package contains several basic utility functions including:
+moving (rolling, running) window statistic functions, read/write for GIF and
+ENVI binary files, fast calculation of AUC, LogitBoost classifier, base64
+encoder/decoder, round-off-error-free sum and cumsum, etc.")
+ (license license:gpl3+)))