aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-09-11 02:53:39 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-09-18 11:33:24 +0200
commit9dd707f03b6cb8772d5211ff627195d9ec4d535c (patch)
tree22fed808636cb8420b19908dff033b2ffb51e13b /gnu/packages/cran.scm
parentd26b7c1bfc4da0696e05462cd352b6f09bb03a7f (diff)
downloadgnu-guix-9dd707f03b6cb8772d5211ff627195d9ec4d535c.tar
gnu-guix-9dd707f03b6cb8772d5211ff627195d9ec4d535c.tar.gz
gnu: Add r-prodlim.
* gnu/packages/cran.scm (r-prodlim): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 6d4d694b6e..6f35d35d67 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1006,3 +1006,28 @@ variable models.")
"This package provides an implementation of dimensionality reduction via
regression using Kernel Ridge Regression.")
(license license:gpl3)))
+
+(define-public r-prodlim
+ (package
+ (name "r-prodlim")
+ (version "1.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "prodlim" version))
+ (sha256
+ (base32
+ "0m51rkivx1zr6whdqwj66jpnkmp4385m06kkha3dp8qqf4jna9iz"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-kernsmooth" ,r-kernsmooth)
+ ("r-lava" ,r-lava)
+ ("r-rcpp" ,r-rcpp)
+ ("r-survival" ,r-survival)))
+ (home-page "http://cran.r-project.org/web/packages/prodlim")
+ (synopsis "Product-limit estimation for censored event history analysis")
+ (description
+ "This package provides a fast and user-friendly implementation of
+nonparametric estimators for censored event history (survival) analysis with
+the Kaplan-Meier and Aalen-Johansen methods.")
+ (license license:gpl2+)))