gnu: Add r-e1071.

Message ID 20160914095350.30536-1-rekado@elephly.net
State New
Headers

Commit Message

Ricardo Wurmus Sept. 14, 2016, 9:53 a.m. UTC
  * gnu/packages/statistics.scm (r-e1071): New variable.
---
 gnu/packages/statistics.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
  

Comments

Leo Famulari Sept. 14, 2016, 7:26 p.m. UTC | #1
On Wed, Sep 14, 2016 at 11:53:50AM +0200, Ricardo Wurmus wrote:
> * gnu/packages/statistics.scm (r-e1071): New variable.

LGTM
  

Patch

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 334c72a..fdc97ca 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2551,6 +2551,26 @@  the way current RNG settings can be changed.")
 Stochastic Neighbor Embedding using a Barnes-Hut implementation.")
     (license license:bsd-3)))
 
+(define-public r-e1071
+  (package
+    (name "r-e1071")
+    (version "1.6-7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "e1071" version))
+       (sha256
+        (base32
+         "1069qwj9gsjq6par2cgfah8nn5x2w38830761x1f7mqpmk0gnj3h"))))
+    (build-system r-build-system)
+    (home-page "http://cran.r-project.org/web/packages/e1071")
+    (synopsis "Miscellaneous functions for probability theory")
+    (description
+     "This package provides functions for latent class analysis, short time
+Fourier transform, fuzzy clustering, support vector machines, shortest path
+computation, bagged clustering, naive Bayes classifier, and more.")
+    (license license:gpl2+)))
+
 (define-public r-nmf
   (package
     (name "r-nmf")