guix-commits
[Top][All Lists]
Advanced

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

31/54: gnu: Add r-activityindex.


From: guix-commits
Subject: 31/54: gnu: Add r-activityindex.
Date: Sat, 14 Dec 2019 07:36:39 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 6f94a3e5f599d2fb1a70ed8297576b39658ebed2
Author: Ricardo Wurmus <address@hidden>
Date:   Sat Dec 14 10:55:01 2019 +0100

    gnu: Add r-activityindex.
    
    * gnu/packages/cran.scm (r-activityindex): New variable.
---
 gnu/packages/cran.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 259fa1d..4ff97d3 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -18023,3 +18023,28 @@ counts are proprietary and difficult to implement if 
researchers use different
 accelerometer brands.  The code creates ActiLife counts from raw acceleration
 data for different accelerometer brands.")
     (license license:gpl3)))
+
+(define-public r-activityindex
+  (package
+    (name "r-activityindex")
+    (version "0.3.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "ActivityIndex" version))
+       (sha256
+        (base32
+         "14k6d78s15j7kb7jhixf4msrdjdl28d0r264cbvy41p8dkq7ysvk"))))
+    (properties `((upstream-name . "ActivityIndex")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-data-table" ,r-data-table)
+       ("r-matrixstats" ,r-matrixstats)
+       ("r-r-utils" ,r-r-utils)))
+    (home-page "https://cran.r-project.org/web/packages/ActivityIndex/";)
+    (synopsis "Activity Index calculation using raw accelerometry data")
+    (description
+     "This is a package to read raw accelerometry from GT3X+ accelerometry
+data and plain table data to calculate the Activity Index from Bai et
+al. (2016) @url{doi:10.1371/journal.pone.0160644}.")
+    (license license:gpl3)))



reply via email to

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