Subject: [bug#42107] [PATCH 1/6] gnu: Add r-km-ci.

From: Peter Lo <[email-masked]>
Date: Sun, 28 Jun 2020 17:29:39 +0800

* gnu/packages/cran.scm (r-km-ci): New variable.
---
 gnu/packages/cran.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ab5e57c0e2..b054c62550 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22325,3 +22325,28 @@ across a wide array of bioinformatic R packages.")
 and clustering large sequence datasets using fast alignment-free k-mer
 counting and recursive k-means partitioning.")
     (license license:gpl3)))
+
+(define-public r-km-ci
+  (package
+    (name "r-km-ci")
+    (version "0.5-2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "km.ci" version))
+        (sha256
+          (base32
+            "1l6kw8jppaa1802yc5pbfwwgac56nhwc9p076ivylhms4w7cdf8v"))))
+    (properties `((upstream-name . "km.ci")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-survival" ,r-survival)))
+    (home-page
+      "https://cran.r-project.org/web/packages/km.ci/")
+    (synopsis
+      "Confidence intervals for the Kaplan-Meier estimator")
+    (description
+      "Computes various confidence intervals for the Kaplan-Meier
+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+)))
-- 
2.17.1