aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-11-27 10:31:24 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-12-03 16:59:53 +0100
commitfaec0f7595b7c493522586eb7dd1a8ea5ef03673 (patch)
tree81c8fd9e8b3c321f57aef75e628325aeb0ddd008 /gnu/packages/cran.scm
parenteeacb3d98af5dc25575762cbfce010f6929c8aef (diff)
downloadguix-faec0f7595b7c493522586eb7dd1a8ea5ef03673.tar.gz
guix-faec0f7595b7c493522586eb7dd1a8ea5ef03673.zip
gnu: Add r-earth.
* gnu/packages/cran.scm (r-earth): New variable. Change-Id: If6ae39912cade13d0d81c1e5178eb20c5017ccb3
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 ac5635b98a..fa03805f0f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1251,6 +1251,29 @@ by Luis Torgo, published by CRC Press.")
series. These are used for identifying nearby critical transitions.")
(license license:bsd-2)))
+(define-public r-earth
+ (package
+ (name "r-earth")
+ (version "5.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "earth" version))
+ (sha256
+ (base32 "1g6ywsmdp7qlp0rql6f07j9hih45w9jm7b90sgkjpylqan94zy9s"))))
+ (properties `((upstream-name . "earth")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-formula r-plotmo))
+ (native-inputs (list gfortran))
+ (home-page "http://www.milbo.users.sonic.net/earth/")
+ (synopsis "Multivariate adaptive regression splines")
+ (description
+ "This package lets you build regression models using the techniques in
+Friedman's papers \"Fast MARS\" and \"Multivariate Adaptive Regression
+Splines\" <doi:10.1214/aos/1176347963>. The term \"MARS\" is trademarked and
+thus not used in the name of the package.")
+ (license license:gpl3)))
+
(define-public r-embedsom
(package
(name "r-embedsom")