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

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


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-fhtest): New variable.
 gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff mbox series

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d3cd199130..3d02139f87 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22402,3 +22402,34 @@  observed data and the MLE.")
       "This package provides functions to fit nonparametric survival
 curves, plot them, and perform logrank or Wilcoxon type tests.")
     (license license:gpl2+)))
+(define-public r-fhtest
+  (package
+    (name "r-fhtest")
+    (version "1.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "FHtest" version))
+        (sha256
+          (base32
+            "1wsn0j9ydpp9nfswiqg21p09kgkvaq8fh0y0h8syqgizah7i8vs2"))))
+    (properties `((upstream-name . "FHtest")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-interval" ,r-interval)
+        ("r-kmsurv" ,r-kmsurv)
+        ("r-mass" ,r-mass)
+        ("r-perm" ,r-perm)
+        ("r-survival" ,r-survival)))
+    (home-page
+      "https://cran.r-project.org/web/packages/FHtest/")
+    (synopsis
+      "Tests for Survival Data Based on the Fleming-Harrington Class")
+    (description
+      "This package provides functions to compare two or more survival
+curves with: a) The Fleming-Harrington test for right-censored data
+based on permutations and on counting processes.  b) An extension of
+the Fleming-Harrington test for interval-censored data based on a
+permutation distribution and on a score vector distribution.")
+    (license license:gpl2+)))