From 02eec38ee16acc1bf933ac28e989501a73a1a3a1 Mon Sep 17 00:00:00 2001
From: Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>
Date: Sat, 11 Mar 2017 22:14:22 +1000
Subject: [PATCH] gnu: Add r-ranger.

* gnu/packages/statistics.scm (r-ranger): New variable.

Signed-off-by: Ben Woodcroft <donttrustben@gmail.com>
---
 gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index c48c2be6ac1..401cb17e694 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4796,3 +4796,26 @@ (define-public r-tclust
 algorithms (@code{tclust}) based on trimming and including some graphical
 diagnostic tools (@code{ctlcurves} and @code{DiscrFact}).")
     (license license:gpl3)))
+
+(define-public r-ranger
+  (package
+    (name "r-ranger")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "ranger" version))
+       (sha256
+        (base32
+         "1fwqwbi0dnla16x6zj14rf95qr5gmilfmlrwnv7s960h4yiw4n97"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-rcpp" ,r-rcpp)))
+    (home-page "https://github.com/imbs-hl/ranger")
+    (synopsis "Fast implementation of random forests")
+    (description
+     "This package provides a fast implementation of Random Forests,
+particularly suited for high dimensional data.  Ensembles of classification,
+regression, survival and probability prediction trees are supported.  Data from
+genome-wide association studies can be analyzed efficiently.")
+    (license license:gpl3)))
-- 
GitLab