gnu: Add r-mstate.

* gnu/packages/cran.scm (r-mstate): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Eric Brown 2020-05-28 23:13:31 -04:00 committed by Leo Famulari
parent fa2811465b
commit 3bafa88b40
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -21778,3 +21778,29 @@ (define-public r-brms
actually reflect their beliefs. Model fit can easily be assessed and compared
with posterior predictive checks and leave-one-out cross-validation.")
(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+)))