summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2019-01-09 14:12:39 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-09 15:43:49 +0100
commit3d62d98e694732fbeba3f17e7586f47e23c847bd (patch)
tree81af38f9b0c0365dc11a966d8f981d01b1a06672
parent029425cbcefe427bd4816110780acc5566ea9785 (diff)
downloadguix-3d62d98e694732fbeba3f17e7586f47e23c847bd.tar.gz
gnu: Add r-flare.
* gnu/packages/cran.scm (r-flare): New variable.
-rw-r--r--gnu/packages/cran.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 1839ead07c..f73adb6bed 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -44,6 +44,7 @@
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages gnome)
+  #:use-module (gnu packages graph)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages haskell)
   #:use-module (gnu packages image)
@@ -8949,3 +8950,28 @@ prior.  The algorithm is solved on a path, with coordinate updates, and is
 capable of generating very sparse models.  Very general model
 diagnostics for controlling type-1 errors are also provided.")
     (license license:gpl2)))
+
+(define-public r-flare
+  (package
+    (name "r-flare")
+    (version "1.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "flare" version))
+       (sha256
+        (base32
+         "0ygif9a7a99qwv0b488wymmmncp6f5ww9yz13s4qs6p8yf37x1r1"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-igraph" ,r-igraph)
+       ("r-lattice" ,r-lattice)
+       ("r-mass" ,r-mass)
+       ("r-matrix" ,r-matrix)))
+    (home-page "https://cran.r-project.org/web/packages/flare")
+    (synopsis "Family of Lasso regression implementations")
+    (description
+     "This packages provides implementations of a family of Lasso variants
+including Dantzig Selector, LAD Lasso, SQRT Lasso, Lq Lasso for estimating
+high dimensional sparse linear models.")
+    (license license:gpl2)))