From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55105) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyyhV-0007rY-CL for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyyhU-0000XZ-99 for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36954) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyyhU-0000Ws-4e for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:12 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iyyhU-0008Hh-2v for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:12 -0500 Subject: [bug#39416] [PATCH 13/34] gnu: Add package r-msm Resent-Message-ID: From: Lars-Dominik Braun Date: Tue, 4 Feb 2020 14:56:05 +0100 Message-Id: <20200204135626.28261-13-ldb@leibniz-psychology.org> In-Reply-To: <20200204135626.28261-1-ldb@leibniz-psychology.org> References: <20200204135626.28261-1-ldb@leibniz-psychology.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39416@debbugs.gnu.org Cc: Lars-Dominik Braun * gnu/packages/cran.scm (r-msm): New variable. --- gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) 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) . 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+))) -- 2.20.1