diff mbox series

[bug#39416,13/34] gnu: Add package r-msm

Message ID 20200204135626.28261-13-ldb@leibniz-psychology.org
State Accepted
Headers show
Series [bug#39416,01/34] gnu: Add package r-fracdiff | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job

Commit Message

Lars-Dominik Braun Feb. 4, 2020, 1:56 p.m. UTC
* gnu/packages/cran.scm (r-msm): New variable.
---
 gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 8c436d4c75..8606695b7c 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19604,3 +19604,32 @@  et al (2016) <doi:10.1080/01621459.2016.1141684>.  Vignette is Roberts et al
 methods or ML, optionally with standard errors; tetrachoric and biserial
 correlations are special cases.")
     (license license:gpl2+)))
+
+(define-public r-msm
+  (package
+    (name "r-msm")
+    (version "1.6.8")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "msm" version))
+        (sha256
+          (base32
+            "1d32y8f0vb2dfv3999liigpns788j145nrvd1xpxb9i2lsg8mwgk"))))
+    (properties `((upstream-name . "msm")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-expm" ,r-expm)
+        ("r-mvtnorm" ,r-mvtnorm)
+        ("r-survival" ,r-survival)))
+    (home-page "https://github.com/chjackson/msm")
+    (synopsis
+      "Multi-State Markov and Hidden Markov Models in Continuous Time")
+    (description
+      "This package provides functions for fitting continuous-time Markov and
+hidden Markov multi-state models to longitudinal data.  Designed for processes
+observed at arbitrary times in continuous time (panel data) but some other
+observation schemes are supported.  Both Markov transition rates and the hidden
+Markov output process can be modelled in terms of covariates, which may be
+constant or piecewise-constant in time.")
+    (license license:gpl2+)))