Subject: [bug#32689] [PATCH] gnu: Add r-abundant.

From: pimi <[email-masked]>
Date: Mon, 10 Sep 2018 21:32:57 +0200

gnu/packages/cran.scm (r-abundant): New variable.
---
 gnu/packages/cran.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d31f1c81a..41d6e44ed 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -5614,3 +5614,27 @@ coordinate descent to solve the regularized inverse covariance matrix estimation
 problem.")
     ;; on the home-page it is mentioned that the release is under GPLv3 or later
     (license license:gpl3+)))
+
+(define-public r-abundant
+  (package
+    (name "r-abundant")
+    (version "1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "abundant" version))
+       (sha256
+        (base32 "1m76qdmqvwpgm0sihazi2dna7cgsz9rljal18vgffb5wamwmg9k7"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-quic" ,r-quic)))
+    (home-page "https://cran.r-project.org/web/packages/abundant/")
+    (synopsis "Abundant regression and high-dimensional principal fitted components")
+    (description
+     "This package fits and predicts with the high-dimensional principal fitted components
+model.  It is demonstrated that asymptotic behavior of a class of methods for
+sufficient dimension reduction in high-dimension regressions, are consistent in
+a variety of settings, particularly in abundant regressions where most
+predictors contribute some information on the response, and oracle rates are
+possible.")
+    (license license:gpl2)))
-- 
2.17.1