summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2019-01-09 16:45:08 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-09 17:13:52 +0100
commit1ea708af8cf89c15a508941d6af6ee36e401a3ed (patch)
treef16d03d3fa7e4efd631d28ea7ccdff355f6e7347 /gnu
parentafc0d8158b654381789b7e1c9dea9512cf63afbf (diff)
downloadguix-1ea708af8cf89c15a508941d6af6ee36e401a3ed.tar.gz
gnu: Add r-survivalroc.
* gnu/packages/cran.scm (r-survivalroc): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm21
1 files changed, 21 insertions, 0 deletions
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 @@ This package is primarily provided for projects already based on it, and for
 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+)))