summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-09-21 22:45:19 +0200
committerRicardo Wurmus <rekado@elephly.net>2016-09-26 03:20:52 +0200
commit2213730c5b3d080b5776953116317cc23629f5c6 (patch)
tree8fb53f8d96db6e0055b22f6aa19e3edd4e9a6313
parent356c6d61a66a1b31ec06c309ace8ae6fc68049d3 (diff)
downloadguix-2213730c5b3d080b5776953116317cc23629f5c6.tar.gz
gnu: Add r-rpart.
* gnu/packages/statistics.scm (r-rpart): New variable.
-rw-r--r--gnu/packages/statistics.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 2a9a31e3e2..806aacb73b 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2958,6 +2958,25 @@ noncentral hypergeometric distribution (also called extended hypergeometric
 distribution).")
    (license license:gpl3+)))
 
+(define-public r-rpart
+  (package
+    (name "r-rpart")
+    (version "4.1-10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "rpart" version))
+       (sha256
+        (base32
+         "119dvh2cpab4vq9blvbkil5hgq6w018amiwlda3ii0fki39axpf5"))))
+    (build-system r-build-system)
+    (home-page "http://cran.r-project.org/web/packages/rpart")
+    (synopsis "Recursive partitioning and regression trees")
+    (description
+     "This package provides recursive partitioning functions for
+classification, regression and survival trees.")
+    (license (list license:gpl2+ license:gpl3+))))
+
 (define-public r-runit
   (package
     (name "r-runit")