guix-commits
[Top][All Lists]
Advanced

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

08/13: gnu: Add r-gam.


From: guix-commits
Subject: 08/13: gnu: Add r-gam.
Date: Tue, 7 Sep 2021 08:11:49 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 4506ef4286f2892ffec9e721efdb79ef3af35d0f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Sep 7 13:26:55 2021 +0200

    gnu: Add r-gam.
    
    * gnu/packages/cran.scm (r-gam): New variable.
---
 gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 04d5c16..16310b6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -9709,6 +9709,32 @@ cross-validated AUC estimates based on influence curves 
for i.i.d. and pooled
 repeated measures data, respectively.")
     (license license:asl2.0)))
 
+(define-public r-gam
+  (package
+    (name "r-gam")
+    (version "1.20")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "gam" version))
+       (sha256
+        (base32
+         "1zhy2fp7pxac8xp3z3hndhprj4s5gx3305b627vc78bal1ml3swi"))))
+    (properties `((upstream-name . "gam")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-foreach" ,r-foreach)))
+    (native-inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "https://cran.r-project.org/package=gam";)
+    (synopsis "Generalized additive models")
+    (description
+     "This package provides functions for fitting and working with generalized
+additive models, as described in chapter 7 of \"Statistical Models in
+S\" (Chambers and Hastie (eds), 1991), and \"Generalized Additive
+Models\" (Hastie and Tibshirani, 1990).")
+    (license license:gpl2)))
+
 (define-public r-mosaiccore
   (package
     (name "r-mosaiccore")



reply via email to

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