summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorpimi <madalinionel.patrascu@mdc-berlin.de>2018-09-11 15:18:27 +0200
committerLeo Famulari <leo@famulari.name>2018-10-02 15:46:04 -0400
commitd8d8844ec12c017480e83cd541e98b55e18a17f4 (patch)
treecb5580484da6a2b07673683193819a21a0545045 /gnu
parent7af2dd38268e8d043352a6f5845cce1ee8f2fe4f (diff)
gnu: Add r-accelerometry.
gnu/packages/cran.scm (r-accelerometry): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 2db310b636..b567fdc0ce 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6107,3 +6107,27 @@ fitted probability density function or probability mass function curve, create
the body mass index groups, assess the linearity assumption in logistic
regression).")
(license license:gpl2)))
+
+(define-public r-accelerometry
+ (package
+ (name "r-accelerometry")
+ (version "3.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "accelerometry" version))
+ (sha256
+ (base32 "13xzrwhr4i1nj9c8vrmfdg2rmrc8n446iihcyxmy99sm99hpzyip"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-dvmisc" ,r-dvmisc)
+ ("r-rcpp" ,r-rcpp)))
+ (home-page "https://cran.r-project.org/web/packages/accelerometry/")
+ (synopsis "Functions for processing accelerometer data")
+ (description
+ "This package provides a collection of functions that perform operations on
+time-series accelerometer data, such as identify the non-wear time, flag minutes
+that are part of an activity bout, and find the maximum 10-minute average count
+value. The functions are generally very flexible, allowing for a variety of
+algorithms to be implemented.")
+ (license license:gpl3)))