aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-14 10:56:22 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-14 13:35:56 +0100
commit5f08fa64f023192c1aef0b34afb00b17bdd591de (patch)
tree9c821cc01e6146cb1f60449305abc71e39da073e /gnu
parenta5d4dc7efb2b1bf01fe7bbbf18d91f8b6c63e7aa (diff)
downloadpatches-5f08fa64f023192c1aef0b34afb00b17bdd591de.tar
patches-5f08fa64f023192c1aef0b34afb00b17bdd591de.tar.gz
gnu: Add r-actogrammr.
* gnu/packages/cran.scm (r-actogrammr): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 7020725983..ba322ee220 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -18103,3 +18103,32 @@ sets, such as sleep diaries and continuous glucose monitoring data.")
behavior variables from activPAL events files.")
;; Either version of the GPL.
(license (list license:gpl2 license:gpl3))))
+
+(define-public r-actogrammr
+ (package
+ (name "r-actogrammr")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "actogrammr" version))
+ (sha256
+ (base32
+ "1jzvarmd41yqlrkagzlc8m19n5mn0w0b36fy50lyvgrfsafjfbqa"))))
+ (properties `((upstream-name . "actogrammr")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-dplyr" ,r-dplyr)
+ ("r-ggplot2" ,r-ggplot2)
+ ("r-lubridate" ,r-lubridate)
+ ("r-readr" ,r-readr)
+ ("r-tidyr" ,r-tidyr)))
+ (home-page "https://cran.r-project.org/web/packages/actogrammr/")
+ (synopsis "Read in activity data and plot actograms")
+ (description
+ "Read in activity measurements from standard file formats used by
+circadian rhythm researchers, currently only ClockLab format, and process and
+plot the data. The central type of plot is the actogram, as first described
+in \"Activity and distribution of certain wild mice in relation to biotic
+communities\" by MS Johnson (1926) @url{doi:10.2307/1373575}.")
+ (license license:gpl3)))