summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-03-12 00:12:41 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-03-17 10:14:00 +0100
commit74892587517974997cdbcc81b19fe092af353a6d (patch)
treebb5b7663809e80d8f7838baa77d95d50dd158369
parentc7e80a7e0d4c1ec9d6c127e6f335a5424d1e06e8 (diff)
gnu: Add r-class.
* gnu/packages/statistics.scm (r-class): New variable.
-rw-r--r--gnu/packages/statistics.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 189a1d2998..9199c0b9e0 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -262,6 +262,28 @@ Applied Statistics with S\" (4th edition, 2002) by Venables and Ripley.")
;; Either version may be picked.
(license (list license:gpl2 license:gpl3))))
+(define-public r-class
+ (package
+ (name "r-class")
+ (version "7.3-14")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "class" version))
+ (sha256
+ (base32
+ "173b8a16lh1i0zjmr784l0xr0azp9v8bgslh12hfdswbq7dpdf0q"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-mass" ,r-mass)))
+ (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
+ (synopsis "R functions for classification")
+ (description
+ "This package provides various functions for classification, including
+k-nearest neighbour, Learning Vector Quantization and Self-Organizing Maps.")
+ ;; Either of the two versions can be picked.
+ (license (list license:gpl2 license:gpl3))))
+
(define-public r-bit
(package
(name "r-bit")