unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40747] New package: r-mstate
@ 2020-04-21 16:29 Eric Brown
  2020-05-29  3:45 ` bug#40747: " Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Brown @ 2020-04-21 16:29 UTC (permalink / raw)
  To: 40747

[-- Attachment #1: Type: text/plain, Size: 72 bytes --]

Dear Guix:

Please see attached diff for r-mstate.

Best regards,
Eric


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: r-mstate --]
[-- Type: text/x-patch, Size: 1596 bytes --]

From 69141a3f79452e9a022b20e1b05b565e819386a2 Mon Sep 17 00:00:00 2001
From: Eric Brown <ecbrown@ericcbrown.com>
Date: Tue, 21 Apr 2020 11:20:16 -0500
Subject: [PATCH] gnu: Add r-mstate.

* gnu/packages/cran.scm (r-mstate): New variable.
---
 gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 70cb7cc700..935442b4ef 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -21162,3 +21162,29 @@ evaluated interactively.")
 Bayes factors, posterior model probabilities, and normalizing constants in
 general, via different versions of bridge sampling.")
     (license license:gpl2+)))
+
+(define-public r-mstate
+  (package
+    (name "r-mstate")
+    (version "0.2.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "mstate" version))
+       (sha256
+        (base32
+         "0qnhivbibzss8yfsg44cvbf73n4jj4i28rbdysl88g14ig5sabgv"))))
+    (properties `((upstream-name . "mstate")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-rcolorbrewer" ,r-rcolorbrewer)
+       ("r-survival" ,r-survival)))
+    (home-page
+     "https://www.lumc.nl/org/bds/research/medische-statistiek/survival-analysis/")
+    (synopsis
+     "Data Preparation, Estimation and Prediction in Multi-State Models")
+    (description
+     "Contains functions for data preparation, descriptives, hazard estimation
+and prediction with Aalen-Johansen or simulation in competing risks and
+multi-state models.")
+    (license license:gpl2+)))
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#40747: New package: r-mstate
  2020-04-21 16:29 [bug#40747] New package: r-mstate Eric Brown
@ 2020-05-29  3:45 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2020-05-29  3:45 UTC (permalink / raw)
  To: Eric Brown; +Cc: 40747-done

On Tue, Apr 21, 2020 at 11:29:04AM -0500, Eric Brown wrote:
> Please see attached diff for r-mstate.

Thanks! Pushed as 3bafa88b40483040e5f8034561590cadd43514c8




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-29  3:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21 16:29 [bug#40747] New package: r-mstate Eric Brown
2020-05-29  3:45 ` bug#40747: " Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).