guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/09: gnu: Add r-imputeyn.


From: guix-commits
Subject: 02/09: gnu: Add r-imputeyn.
Date: Wed, 1 Jan 2020 07:33:20 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 9eb680b1dccd8068c65d12e54d2147220f02b4f2
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jan 1 12:57:41 2020 +0100

    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 4f4ec59..5bacec6 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]