summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRaoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>2017-03-11 14:51:50 +1000
committerBen Woodcroft <donttrustben@gmail.com>2017-03-12 10:28:06 +1000
commitaa84100011b0f77516a23774eeade38ec1ae944c (patch)
treea02ec041d29d44af82f3aefec19d060d7831f947 /gnu
parent21cfad44c1c7157d2c6bb90d3e01fd73af13ecc6 (diff)
downloadguix-aa84100011b0f77516a23774eeade38ec1ae944c.tar.gz
gnu: Add r-modelmetrics.
* gnu/packages/statistics.scm (r-modelmetrics): New variable.

Signed-off-by: Ben Woodcroft <donttrustben@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/statistics.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index c43253b596..dbfa7dcd17 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4489,3 +4489,25 @@ library for linear algebra: matrices, vectors, numerical solvers and related alg
 It supports dense and sparse matrices on integer, floating point and complex numbers,
 decompositions of such matrices, and solutions of linear systems.")
     (license license:gpl2+)))
+
+(define-public r-modelmetrics
+  (package
+    (name "r-modelmetrics")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+        (uri (cran-uri "ModelMetrics" version))
+        (sha256
+         (base32
+          "119xxmzb5biq7k1yxqsf0jmmarmfn6lds9x9hfgv593xlpym6za8"))))
+    (properties `((upstream-name . "ModelMetrics")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-rcpp" ,r-rcpp)))
+    (home-page "http://cran.r-project.org/web/packages/ModelMetrics")
+    (synopsis "Rapid calculation of model metrics")
+    (description
+     "Written in C++ using @code{Rcpp}, this package provides a collection of
+metrics for evaluating models.")
+    (license license:gpl2+)))