aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/statistics.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/statistics.scm')
-rw-r--r--gnu/packages/statistics.scm42
1 files changed, 22 insertions, 20 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index b338efcda2..c836409b61 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -511,6 +511,28 @@ analysis.")
;; Either version may be picked.
(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)
+ (propagated-inputs
+ `(("r-matrix" ,r-matrix)))
+ (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-bit
(package
(name "r-bit")
@@ -3683,26 +3705,6 @@ following problems:
@end enumerate\n")
(license 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-base64
(package
(name "r-base64")