summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-13 18:49:53 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-13 22:41:39 +0100
commit7e2e46cbe2dd2fe9f90f61dfffdd89e66172ce8e (patch)
tree06da92ba0c538d40e28bfbf5f86911484957279e /gnu
parent592d423ca5d751d4dc6beb6b7500228ec6103937 (diff)
downloadguix-7e2e46cbe2dd2fe9f90f61dfffdd89e66172ce8e.tar.gz
gnu: Add r-mda.
* gnu/packages/cran.scm (r-mda): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 7547b176fc..dcbad9cb12 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -16758,3 +16758,25 @@ easily used by statisticians and clinical researchers.")
      "This is a package for visualizing data quality of partially accruing
 data.")
     (license license:gpl3)))
+
+(define-public r-mda
+  (package
+    (name "r-mda")
+    (version "0.4-10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "mda" version))
+       (sha256
+        (base32
+         "19g6kn6g0shidrjfffklbmzc5w7mcimrxhagx4nmpslg59ibqdkh"))))
+    (properties `((upstream-name . "mda")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-class" ,r-class)))
+    (native-inputs `(("gfortran" ,gfortran)))
+    (home-page "https://cran.r-project.org/web/packages/mda/")
+    (synopsis "Mixture and flexible discriminant analysis")
+    (description
+     "This is a package for mixture and flexible discriminant analysis,
+@dfn{multivariate adaptive regression splines} (MARS), BRUTO, and so on.")
+    (license license:gpl2)))