guix-commits
[Top][All Lists]
Advanced

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

13/19: gnu: Add r-cmprsk.


From: guix-commits
Subject: 13/19: gnu: Add r-cmprsk.
Date: Wed, 9 Jan 2019 11:14:11 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 7aeec0cf374b9d911410ab87fd2fe985edad2430
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jan 9 16:56:10 2019 +0100

    gnu: Add r-cmprsk.
    
    * gnu/packages/cran.scm (r-cmprsk): 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 5204677..f073124 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -10197,3 +10197,30 @@ developed, tested and used at the Functional Genomics 
Center Zurich, where it
 is used mainly for prototyping, teaching, and having fun with proteomics data.
 But it can also be used to do data analysis for small scale data sets.")
     (license license:gpl3)))
+
+(define-public r-cmprsk
+  (package
+    (name "r-cmprsk")
+    (version "2.2-7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "cmprsk" version))
+       (sha256
+        (base32
+         "1imr3wpnj4g57n2x4ryahl4lk8lvq9y2r7319zv3k82mznha8bcm"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-survival" ,r-survival)))
+    (native-inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "https://cran.r-project.org/web/packages/cmprsk";)
+    (synopsis "Subdistribution analysis of competing risks")
+    (description
+     "This package provides tool for estimation, testing and regression
+modeling of subdistribution functions in competing risks, as described in
+Gray (1988), A class of K-sample tests for comparing the cumulative incidence
+of a competing risk, Ann. Stat. 16:1141-1154, and Fine JP and Gray RJ (1999),
+A proportional hazards model for the subdistribution of a competing risk,
+JASA, 94:496-509.")
+    (license license:gpl2+)))



reply via email to

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