aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-11-03 18:57:21 +0100
committerRicardo Wurmus <rekado@elephly.net>2016-11-03 19:01:44 +0100
commitebbd4d0bfdc7d23996762ad86700f02b77b08cf3 (patch)
tree59f5daf8d7930715c29e69a360d6da9fb0a59ee9 /gnu
parentac3265abada4c55080008c964fec85e684094183 (diff)
downloadguix-ebbd4d0bfdc7d23996762ad86700f02b77b08cf3.tar
guix-ebbd4d0bfdc7d23996762ad86700f02b77b08cf3.tar.gz
gnu: Add r-survival.
* gnu/packages/statistics.scm (r-survival): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/statistics.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index b15f9cf45e..c595f965bf 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -3230,6 +3230,26 @@ distribution).")
classification, regression and survival trees.")
(license (list license:gpl2+ license:gpl3+))))
+(define-public r-survival
+ (package
+ (name "r-survival")
+ (version "2.40-1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "survival" version))
+ (sha256
+ (base32
+ "10pf0kq0g66k5rgizrvh29mq3r84acljw2jgrv5yp6z38xw23mci"))))
+ (build-system r-build-system)
+ (home-page "https://github.com/therneau/survival")
+ (synopsis "Survival analysis")
+ (description
+ "This package contains the core survival analysis routines, including
+definition of Surv objects, Kaplan-Meier and Aalen-Johansen (multi-state)
+curves, Cox models, and parametric accelerated failure time models.")
+ (license license:lgpl2.0+)))
+
(define-public r-hmisc
(package
(name "r-hmisc")