diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-12-14 10:55:01 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-12-14 13:35:56 +0100 |
commit | 6f94a3e5f599d2fb1a70ed8297576b39658ebed2 (patch) | |
tree | b0c222767f5ad488589be3fc98a9c60ec1630e80 /gnu | |
parent | 89d4f154b982a83ded18cbae801fd41f56cbada8 (diff) | |
download | patches-6f94a3e5f599d2fb1a70ed8297576b39658ebed2.tar patches-6f94a3e5f599d2fb1a70ed8297576b39658ebed2.tar.gz |
gnu: Add r-activityindex.
* gnu/packages/cran.scm (r-activityindex): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/cran.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 259fa1d3e9..4ff97d350c 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))) |