guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: Add r-muhaz.


From: guix-commits
Subject: 01/02: gnu: Add r-muhaz.
Date: Fri, 11 Sep 2020 01:24:55 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 3ad68ec251a008d6f5875f9235e75f5ce6399f15
Author: Peter Lo <peterloleungyau@gmail.com>
AuthorDate: Fri Sep 11 07:21:31 2020 +0200

    gnu: Add r-muhaz.
    
    * gnu/packages/cran.scm (r-muhaz): New variable.
    
    Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
---
 gnu/packages/cran.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ad2e9ab..ef6e502 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -23287,3 +23287,28 @@ designed as a drop-in replacement for the RANN 
function @code{nn2}.  In
 addition, objects which include the k-d tree search structure can be returned
 to speed up repeated queries of the same set of target points.")
     (license license:bsd-3)))
+
+(define-public r-muhaz
+  (package
+    (name "r-muhaz")
+    (version "1.2.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "muhaz" version))
+       (sha256
+        (base32
+         "08qh43zx6h3yby44q2vxphfvmfdmqxpgyp0734yn341sy9n8pkkk"))))
+    (properties `((upstream-name . "muhaz")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-survival" ,r-survival)))
+    (native-inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "https://cran.r-project.org/web/packages/muhaz/";)
+    (synopsis "Hazard function estimation in survival analysis")
+    (description
+     "This package produces a smooth estimate of the hazard function for
+censored data.")
+    ;; Any version of the GPL.
+    (license license:gpl3+)))



reply via email to

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