From fbdf05b1fcc12233c39db3f90a029df1ff47824d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 16 Aug 2018 16:47:32 +0200 Subject: [PATCH] gnu: Add r-proc. * gnu/packages/cran.scm (r-proc): 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 c36b8b0138..3665e3582e 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -4787,3 +4787,29 @@ dictionaries in Python but with a purposefully R flavor. For objects of appreciable size, access using hashes outperforms native named lists and vectors.") (license license:gpl2+))) + +(define-public r-proc + (package + (name "r-proc") + (version "1.12.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "pROC" version)) + (sha256 + (base32 + "05ad69a6fxy9k903cw3h4q59ch2jv6qfg9yjdbw3cgiiazcafrlj")))) + (properties `((upstream-name . "pROC"))) + (build-system r-build-system) + (propagated-inputs + `(("r-ggplot2" ,r-ggplot2) + ("r-plyr" ,r-plyr) + ("r-rcpp" ,r-rcpp))) + (home-page "http://expasy.org/tools/pROC/") + (synopsis "Display and analyze ROC curves") + (description + "This package provides tools for visualizing, smoothing and comparing +receiver operating characteristic (ROC curves). The area under the +curve (AUC) can be compared with statistical tests based on U-statistics or +bootstrap. Confidence intervals can be computed for (p)AUC or ROC curves.") + (license license:gpl3+)))