actigraph.sleepr
actigraph.sleepr copied to clipboard
Detect periods of sleep and non-wear from ActiGraph data
Thank you for sharing your code! Now I have the time-series activity counts in the format csv with 60s epoch, can I use the apply_sadeh function directly to calculate the...
Thanks for sharing your code. I see you use Cole Kripke 60 seconds as default, but also implemented the Cole Kripke 10- and 30-second variant in function [apply_cole_kripke](https://github.com/dipetkov/actigraph.sleepr/blob/8dc9aa8e7fc65bfc12b994c5e149ff28d85f5a0c/R/apply_cole_kripke.R). Do I...
Actigraph counts need to be scaled by 100 before scoring with Sadeh (the same as in Cole-Kripke). See the Actigraph user manual: "He [Sadeh] used the same device that Cole-Kripke...
Here is a reprex of the issues that are occurring due to specific storage types that seems to be a "bug" ``` r library(agcounts) library(read.gt3x) library(actigraph.sleepr) library(curl) #> Using libcurl...
My code rds_collapsed % apply_cole_kripke() the error Error: Cole-Kripke assumes 60sec epochs. Aggregate epochs with `collapse_epochs`. Any suggestions? I'd like to avoid re-processing my gt3x data. :)
Broke the Tudor Locke down a bit so you can debug to see each step.
Removed `dbplyr` to try to get closer to CRAN submission.
It seems like you use `dbplyr` to read `agd`. Can you simply run `dbGetQuery` or `dbReadTable` instead of ``` tbl("settings") %>% collect() ``` or any spots where you have `collect`...