From 9eb680b1dccd8068c65d12e54d2147220f02b4f2 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 1 Jan 2020 12:57:41 +0100 Subject: [PATCH] gnu: Add r-imputeyn. * gnu/packages/cran.scm (r-imputeyn): New variable. --- gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 4f4ec592a8..5bacec6a12 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -19011,3 +19011,30 @@ OpenMP.") means/quantiles/hazards from possibly censored and/or truncated data. It also does regression.") (license license:gpl2+))) + +(define-public r-imputeyn + (package + (name "r-imputeyn") + (version "1.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "imputeYn" version)) + (sha256 + (base32 + "1b21w1aa5f7yiq8k0wa86wvbg4ij7f6ldwn6asfqwb0b90rvsgvs")))) + (properties `((upstream-name . "imputeYn"))) + (build-system r-build-system) + (propagated-inputs + `(("r-boot" ,r-boot) + ("r-emplik" ,r-emplik) + ("r-mvtnorm" ,r-mvtnorm) + ("r-quadprog" ,r-quadprog) + ("r-survival" ,r-survival))) + (home-page "https://cran.r-project.org/web/packages/imputeYn/") + (synopsis "Impute last largest censored observation under weighted least squares") + (description + "This package allows for the imputation of the last largest censored +observantions. This method brings less bias and more efficient estimates for +AFT models.") + (license license:gpl2)))