guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20/27: gnu: Add r-cosinor.


From: guix-commits
Subject: 20/27: gnu: Add r-cosinor.
Date: Sun, 24 Nov 2024 07:18:15 -0500 (EST)

rekado pushed a commit to branch r-team
in repository guix.

commit 4f7ed013abc5803799ebc1c04e67cb4e4e6184cc
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Nov 24 12:13:28 2024 +0100

    gnu: Add r-cosinor.
    
    * gnu/packages/cran.scm (r-cosinor): New variable.
    
    Change-Id: Iaecb697c68c51bfb0e1c9b184dee8bfb50c9ac33
---
 gnu/packages/cran.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0d880ce467..0eb84e6e3e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -751,6 +751,30 @@ correlations, multilevel correlations, polychoric 
correlations, biweight
 correlations, distance correlations and more.")
     (license license:gpl3)))
 
+(define-public r-cosinor
+  (package
+    (name "r-cosinor")
+    (version "1.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "cosinor" version))
+       (sha256
+        (base32 "0nyvzmqk0rhx10fki29hcrz014bv3r40adqd5d6rbcz66kc4sjy3"))))
+    (properties `((upstream-name . "cosinor")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-ggplot2 r-shiny))
+    (native-inputs (list r-knitr))
+    (home-page "https://github.com/sachsmc/cosinor";)
+    (synopsis "Tools for estimating and predicting the Cosinor model")
+    (description
+     "This package provides a set of simple functions that transforms
+longitudinal data to estimate the cosinor linear model as described in
+Tong (1976).  Methods are given to summarize the mean, amplitude and
+acrophase, to predict the mean annual outcome value, and to test the
+coefficients.")
+    (license license:expat)))
+
 (define-public r-countrycode
   (package
     (name "r-countrycode")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]