aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorPeter Lo <peterloleungyau@gmail.com>2020-06-28 17:29:41 +0800
committerRicardo Wurmus <rekado@elephly.net>2020-09-11 11:01:45 +0200
commit38c2eb31bb11090fee73420d6c6aaa311be6231a (patch)
tree0067d9a09b46f6d70bf3d87556858d053e06b285 /gnu/packages
parent92b5e0b21ad4c0b05f5dc8774587780eb2c40627 (diff)
downloadguix-38c2eb31bb11090fee73420d6c6aaa311be6231a.tar.gz
guix-38c2eb31bb11090fee73420d6c6aaa311be6231a.zip
gnu: Add r-survmisc.
* gnu/packages/cran.scm (r-survmisc): New variable. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cran.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 5cd8ec5d1e..cc1069e560 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -23441,3 +23441,36 @@ Nair and Hall and Wellner.")
(1997), \"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
+the @code{survival} package.")
+ (license license:gpl2)))