From f359b115c74c9c5fdf482528a0480ed40f5a2446 Mon Sep 17 00:00:00 2001 From: pimi Date: Mon, 1 Oct 2018 08:49:21 -0400 Subject: gnu: Add r-mhsmm. * gnu/packages/cran.scm (r-mhsmm): New variable. --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index a38c907cd5..82984548a2 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -5946,3 +5946,26 @@ (define-public r-accelmissing previous to the missing data imputation. These include detecting the wearing and the non-wearing time, selecting valid days and subjects, and creating plots.") (license license:gpl2+))) + +(define-public r-mhsmm + (package + (name "r-mhsmm") + (version "0.4.16") + (source + (origin + (method url-fetch) + (uri (cran-uri "mhsmm" version)) + (sha256 + (base32 "009dj0zkj1zry7jr9hf4cknb686z50a2l967if64xm0dvjmp7dgs")))) + (build-system r-build-system) + (propagated-inputs `(("r-mvtnorm" ,r-mvtnorm))) + (home-page "https://github.com/jaredo/mhsmm/") + (synopsis "Inference for hidden Markov and semi-Markov models") + (description + "The @code{r-mhsmm} package implements estimation and prediction methods for +hidden Markov and semi-Markov models for multiple observation sequences. Such +techniques are of interest when observed data is thought to be dependent on some +unobserved (or hidden) state. Also, this package is suitable for equidistant +time series data, with multivariate and/or missing data. Allows user defined +emission distributions.") + (license license:gpl2+))) -- cgit v1.2.3