summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-10-28 19:22:58 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-10-30 21:34:55 +0100
commit7c7ee6cf4c1066ac97386269065d53782b04f7e9 (patch)
treec1b83bf5f8c39a88b9b20e9e3e6a5bd63013b5e4 /gnu/packages/cran.scm
parent74cc74e43496f7534c6878137d32284df065ec75 (diff)
downloadguix-7c7ee6cf4c1066ac97386269065d53782b04f7e9.tar.gz
gnu: Add r-lsei.
* gnu/packages/cran.scm (r-lsei): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index a41448970a..ba55e72638 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6990,3 +6990,26 @@ tables available in a variety of formats (plain ASCII, Markdown and HTML).  A
 good point-of-entry for exploring data, both for experienced and new R
 users.")
     (license license:gpl2)))
+
+(define-public r-lsei
+  (package
+    (name "r-lsei")
+    (version "1.2-0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "lsei" version))
+       (sha256
+        (base32
+         "1xl06fb3is744pxlh42wx5hn1h0ab1k31wnmsmh0524kxzcyp0a7"))))
+    (build-system r-build-system)
+    (native-inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "https://www.stat.auckland.ac.nz/~yongwang")
+    (synopsis "Solve regression problems under equality/inequality constraints")
+    (description
+     "It contains functions that solve least squares linear regression
+problems under linear equality/inequality constraints.  Functions for solving
+quadratic programming problems are also available, which transform such
+problems into least squares ones first.")
+    (license license:gpl2+)))