guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/19: gnu: Add r-survivalroc.


From: guix-commits
Subject: 08/19: gnu: Add r-survivalroc.
Date: Wed, 9 Jan 2019 11:14:10 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 1ea708af8cf89c15a508941d6af6ee36e401a3ed
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jan 9 16:45:08 2019 +0100

    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 00eab12..e2ad3ca 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+)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]