From c56739df6bdc4fc8c652fc4bb0b49d8d83a23dee Mon Sep 17 00:00:00 2001 From: Sahithi Yarlagadda Date: Tue, 20 Mar 2018 07:38:55 +0530 Subject: gnu: Add r-dyn. * gnu/packages/cran.scm (r-dyn): New variable. --- gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index b54ddc6b55..749eed8b57 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; Copyright © 2017 Raoul Bonnal ;;; Copyright © 2018 Vijayalakshmi Vedantham +;;; Copyright © 2018 Sahithi Yarlagadda ;;; ;;; This file is part of GNU Guix. ;;; @@ -3245,3 +3246,30 @@ how rivers split and merge. For example, they can be used to compare different clusterings. This package provides an implementation of Sankey plots for R.") (license license:gpl2+))) + +(define-public r-dyn + (package + (name "r-dyn") + (version "0.2-9.6") + (source + (origin + (method url-fetch) + (uri (cran-uri "dyn" version)) + (sha256 + (base32 + "16fqv9k7yxdgybwzafjkyqm16qpgqz13lcjpi6a1nc8xbzlzh0gb")))) + (build-system r-build-system) + (propagated-inputs + `(("r-zoo" ,r-zoo))) + (home-page "https://cran.r-project.org/web/packages/dyn") + (synopsis "Time series regression") + (description + "This package provides the dyn class interfaces @code{ts}, @code{irts}, +@code{zoo} and @code{zooreg} time series classes to @code{lm}, @code{glm}, +@code{loess}, @code{quantreg::rq}, @code{MASS::rlm}, +@code{MCMCpack::MCMCregress()}, @code{quantreg::rq()}, +@code{randomForest::randomForest()} and other regression functions, allowing +those functions to be used with time series including specifications that may +contain lags, diffs and missing values.") + ;; Any GPL version. + (license license:gpl2+))) -- cgit v1.2.3