guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/23: gnu: Add r-minpack-lm.


From: guix-commits
Subject: 15/23: gnu: Add r-minpack-lm.
Date: Tue, 12 Mar 2019 17:48:07 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 4fd994432f032446fbf3654ddd55c738e145e0ba
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Mar 12 22:23:36 2019 +0100

    gnu: Add r-minpack-lm.
    
    * gnu/packages/cran.scm (r-minpack-lm): 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 f3f964d..921a33f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -11122,3 +11122,27 @@ ranges 0 to infinity or 0 to 1, by using a @code{log} 
or a @code{logit}
 transformation, respectively.")
     ;; Either version of the GPL.
     (license (list license:gpl2 license:gpl3))))
+
+(define-public r-minpack-lm
+  (package
+    (name "r-minpack-lm")
+    (version "1.2-1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "minpack.lm" version))
+       (sha256
+        (base32
+         "18ym2pdql5vzngc7q5gn66d153hrfrnd8ilv8yh6vd7j7sx7vjql"))))
+    (properties `((upstream-name . "minpack.lm")))
+    (build-system r-build-system)
+    (native-inputs `(("gfortran" ,gfortran)))
+    (home-page "https://cran.r-project.org/web/packages/minpack.lm";)
+    (synopsis "Levenberg-Marquardt Nonlinear Least-Squares algorithm")
+    (description
+     "The @code{nls.lm} function provides an R interface to @code{lmder} and
address@hidden from the MINPACK library, for solving nonlinear least-squares
+problems by a modification of the Levenberg-Marquardt algorithm, with support
+for lower and upper parameter bounds.  The implementation can be used via
address@hidden calls using the @code{nlsLM} function.")
+    (license license:gpl3)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]