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

Message ID 20200628092944.19939-3-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-survmisc): New variable.
---
 gnu/packages/cran.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ceda3c57a3..6ea06f259f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22373,3 +22373,37 @@  bands by Nair and Hall and Wellner.")
 \"Survival Analysis, Techniques for Censored and Truncated Data\",
 Springer.")
     (license license:gpl3+)))
+
+(define-public r-survmisc
+  (package
+    (name "r-survmisc")
+    (version "0.5.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "survMisc" version))
+        (sha256
+          (base32
+            "00nvvl8gz4477ab24rd0xvfksm8msv8h021b9ld5c9cizc41n2bm"))))
+    (properties `((upstream-name . "survMisc")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-data-table" ,r-data-table)
+        ("r-ggplot2" ,r-ggplot2)
+        ("r-gridextra" ,r-gridextra)
+        ("r-km-ci" ,r-km-ci)
+        ("r-kmsurv" ,r-kmsurv)
+        ("r-knitr" ,r-knitr)
+        ("r-survival" ,r-survival)
+        ("r-xtable" ,r-xtable)
+        ("r-zoo" ,r-zoo)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page
+      "https://cran.r-project.org/web/packages/survMisc/")
+    (synopsis
+      "Miscellaneous Functions for Survival Data")
+    (description
+      "This package provides a collection of functions to help in the
+analysis of right-censored survival data.  These extend the methods
+available in package:survival.")
+    (license license:gpl2)))