[bug#42119,4/5] gnu: Add r-interval.
diff mbox series

Message ID 20200629080340.13200-4-peterloleungyau@gmail.com
State New
Headers show
Series
  • [bug#42119,1/5] gnu: Add r-icens.
Related show

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch fail View Laminar job

Commit Message

Peter Lo June 29, 2020, 8:03 a.m. UTC
* gnu/packages/cran.scm (r-interval): New variable.
---
 gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index fe1a8e0b46..d3cd199130 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22375,3 +22375,30 @@  observed data and the MLE.")
     (description
       "Perform Exact or Asymptotic permutation tests")
     (license (list license:gpl2+ license:gpl3+))))
+
+(define-public r-interval
+  (package
+    (name "r-interval")
+    (version "1.1-0.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "interval" version))
+        (sha256
+          (base32
+            "1lln9jkli28i4wivwzqrsxvv2n15560f7msjy5gssrm45vxrxms8"))))
+    (properties `((upstream-name . "interval")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-icens" ,r-icens)
+        ("r-mlecens" ,r-mlecens)
+        ("r-perm" ,r-perm)
+        ("r-survival" ,r-survival)))
+    (home-page
+      "https://cran.r-project.org/web/packages/interval/")
+    (synopsis
+      "Weighted Logrank Tests and NPMLE for interval censored data")
+    (description
+      "This package provides functions to fit nonparametric survival
+curves, plot them, and perform logrank or Wilcoxon type tests.")
+    (license license:gpl2+)))