Package: ActiSleep 1.0.0
ActiSleep: Sleep Duration Estimation from Accelerometer Data
Estimates daily sleep duration from wrist or hip accelerometer data using a Pruned Dynamic Programming (PDP) changepoint algorithm. PDP partitions a minute-level activity series into segments, then identifies transitions between sleep and wakefulness by detecting extended periods of low physical activity. Five cost-function models (Poisson, Normal, Negative binomial, Variance, Exponential) accommodate different activity-count distributions. Optional non-wear detection and sleep diary integration are supported. Reference: Baek, Jonggyu, Banker, Margaret, Jansen, Erica C., She, Xichen, Peterson, Karen E., Pitchford, E. Andrew, Song, Peter X. K. (2021) An Efficient Segmentation Algorithm to Estimate Sleep Duration from Actigraphy Data <doi:10.1007/s12561-021-09309-3>.
Authors:
ActiSleep_1.0.0.tar.gz
ActiSleep_1.0.0.zip(r-4.7)ActiSleep_1.0.0.zip(r-4.6)ActiSleep_1.0.0.zip(r-4.5)
ActiSleep_1.0.0.tgz(r-4.6-x86_64)ActiSleep_1.0.0.tgz(r-4.6-arm64)ActiSleep_1.0.0.tgz(r-4.5-x86_64)ActiSleep_1.0.0.tgz(r-4.5-arm64)
ActiSleep_1.0.0.tar.gz(r-4.7-arm64)ActiSleep_1.0.0.tar.gz(r-4.7-x86_64)ActiSleep_1.0.0.tar.gz(r-4.6-arm64)ActiSleep_1.0.0.tar.gz(r-4.6-x86_64)
ActiSleep_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
ActiSleep/json (API)
NEWS
| # Install 'ActiSleep' in R: |
| install.packages('ActiSleep', repos = c('https://n-szeto.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/n-szeto/actisleep/issues
- AccelData - Accelerometry Data
- SleepDiary1Day - Sleep Diary 1-Day Data
- SleepDiary1Week - Sleep Diary 1-Week Data
Last updated from:4ab48c6ed0. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 208 | ||
| linux-devel-x86_64 | OK | 212 | ||
| source / vignettes | OK | 255 | ||
| linux-release-arm64 | OK | 184 | ||
| linux-release-x86_64 | OK | 202 | ||
| macos-release-arm64 | OK | 253 | ||
| macos-release-x86_64 | OK | 387 | ||
| macos-oldrel-arm64 | OK | 217 | ||
| macos-oldrel-x86_64 | OK | 376 | ||
| windows-devel | OK | 185 | ||
| windows-release | OK | 197 | ||
| windows-oldrel | OK | 191 | ||
| wasm-release | OK | 153 |
Exports:estimate_sleepread_agd
Dependencies:accelerometrybase64encbitbit64blobbslibcachemclicpp11cubaturedata.tableDBIdigestdplyrdvmiscevaluatefarverfastmapfontawesomefsgenericsggplot2gluegtablehighrhtmltoolsisobandjquerylibjsonlitekableExtraknitrlabelinglatticelifecyclelubridatemagrittrMASSMatrixmemoisemimeminqamitoolsmvtnormnumDerivpillarpkgconfigpracmaR6rappdirsrbenchmarkRColorBrewerRcppRcppArmadillorlangrmarkdownRSQLiterstudioapiS7sassscalesstringistringrsurveysurvivalsvglitesystemfontstabtextshapingtibbletidyselecttimechangetinytexutf8vctrsviridisLitewithrxfunxml2yaml
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Accelerometry Data | AccelData |
| Extract the segments data frame from an actisleep_result | as.data.frame.actisleep_result |
| Sleep duration estimation via Pruned Dynamic Programming | estimate_sleep |
| Print an actisleep_result | print.actisleep_result |
| Read AGD file data | read_agd |
| This code was written by Alice Cleynen, Guillem Rigaill, and Michel Koskas as part of the Segmentor3IsBack package, which is no longer in CRAN. It has been imported into the ActiSleep package to ensure this package's longevity. | Segmentor-class |
| Sleep Diary 1-Day Data | SleepDiary1Day |
| Sleep Diary 1-Week Data | SleepDiary1Week |
| Summarise an actisleep_result | summary.actisleep_result |
