[bug#42107,2/6] gnu: Add r-kmsurv.
diff mbox series

Message ID 20200628092944.19939-2-peterloleungyau@gmail.com
State New
Headers show
Series
  • [bug#42107,1/6] gnu: Add r-km-ci.
Related show

Checks

Context Check Description
cbaines/applying patch fail View Laminar job

Commit Message

Peter Lo June 28, 2020, 9:29 a.m. UTC
* gnu/packages/cran.scm (r-kmsurv): New variable.
---
 gnu/packages/cran.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b054c62550..ceda3c57a3 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22350,3 +22350,26 @@  estimator, namely: Petos CI, Rothman CI, CI's based on Greenwoods
 variance, Thomas and Grunkemeier CI and the simultaneous confidence
 bands by Nair and Hall and Wellner.")
     (license license:gpl2+)))
+
+(define-public r-kmsurv
+  (package
+    (name "r-kmsurv")
+    (version "0.1-5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "KMsurv" version))
+        (sha256
+          (base32
+            "0hi5vvk584rl70gbrr75w9hc775xmbxnaig0dd6hlpi4071pnqjm"))))
+    (properties `((upstream-name . "KMsurv")))
+    (build-system r-build-system)
+    (home-page
+      "https://cran.r-project.org/web/packages/KMsurv/")
+    (synopsis
+      "Data sets from Klein and Moeschberger (1997), Survival Analysis")
+    (description
+      "Data sets and functions for Klein and Moeschberger (1997),
+\"Survival Analysis, Techniques for Censored and Truncated Data\",
+Springer.")
+    (license license:gpl3+)))