aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-14 10:10:56 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-14 13:35:56 +0100
commitc090b9977c22854c23a5e3f6c5352263c67713f6 (patch)
treeafad794beda2fdc1dfbfbdd791479c7d1557d1a9 /gnu
parent6790adf338a1e3606d451135cec244f737c96156 (diff)
downloadpatches-c090b9977c22854c23a5e3f6c5352263c67713f6.tar
patches-c090b9977c22854c23a5e3f6c5352263c67713f6.tar.gz
gnu: Add r-actfrag.
* gnu/packages/cran.scm (r-actfrag): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index f01df24bb2..c36328c896 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -17889,3 +17889,30 @@ label clusters so that examinees' attribute profiles can be obtained.")
poverty measures. It provides both empirical and theoretical Lorenz curves.")
;; Either of these two versions.
(license (list license:gpl2 license:gpl3))))
+
+(define-public r-actfrag
+ (package
+ (name "r-actfrag")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "ActFrag" version))
+ (sha256
+ (base32
+ "06l5a679j6289008ls57v420mnzpq9a4ln7svi5bh0vpvws7sr9d"))))
+ (properties `((upstream-name . "ActFrag")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-accelerometry" ,r-accelerometry)
+ ("r-dplyr" ,r-dplyr)
+ ("r-ineq" ,r-ineq)
+ ("r-survival" ,r-survival)
+ ("r-tidyr" ,r-tidyr)))
+ (home-page "https://github.com/junruidi/ActFrag")
+ (synopsis "Activity fragmentation metrics extraction")
+ (description
+ "This package provides functions to extract commonly used fragmentation
+metrics to quantify time accumulation strategies based on minute level
+actigraphy-measured activity counts data.")
+ (license license:gpl3)))