From 1ea708af8cf89c15a508941d6af6ee36e401a3ed Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 9 Jan 2019 16:45:08 +0100 Subject: gnu: Add r-survivalroc. * gnu/packages/cran.scm (r-survivalroc): New variable. --- gnu/packages/cran.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 00eab12c92..e2ad3ca03f 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -10078,3 +10078,24 @@ (define-public r-bootstrap support of the book. New projects should preferentially use the recommended package \"boot\".") (license license:bsd-3))) + +(define-public r-survivalroc + (package + (name "r-survivalroc") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "survivalROC" version)) + (sha256 + (base32 + "0wnd65ff5w679hxa1zrpfrx9qg47q21pjxppsga6m3h4iq1yfj8l")))) + (properties `((upstream-name . "survivalROC"))) + (build-system r-build-system) + (home-page "https://cran.r-project.org/web/packages/survivalROC") + (synopsis "Time-dependent ROC curve estimation from censored survival data") + (description + "Compute time-dependent ROC curve from censored survival data using +Kaplan-Meier (KM) or Nearest Neighbor Estimation (NNE) method of Heagerty, +Lumley & Pepe (Biometrics, Vol 56 No 2, 2000, PP 337-344)") + (license license:gpl2+))) -- cgit v1.2.3