Package: actigraph.sleepr 0.3.1

Desislava Petkova

actigraph.sleepr: Detect Periods of Sleep and Non-Wear in 'ActiGraph' Data

Reads *.agd files exported from 'ActiGraph' devices; implements the Troiano (2008) <doi:10.1249/mss.0b013e31815a51b3> and Choi (2011) <doi:10.1249/MSS.0b013e3181ed61a3> algorithms for detecting periods on non-wear; implements the Sadeh (1994) <doi:10.1093/sleep/17.3.201> and Cole-Kripke (1992) <doi:10.1093/sleep/15.5.461> algorithms for detecting asleep/awake state and the Tudor-Locke (2014) <doi:10.1139/apnm-2013-0173> algorithm to detect sleep periods from asleep/awake states.

Authors:Desislava Petkova [aut, cre], John Muschelli [ctb]

actigraph.sleepr_0.3.1.tar.gz
actigraph.sleepr_0.3.1.tar.gz(r-4.7-arm64)actigraph.sleepr_0.3.1.tar.gz(r-4.7-x86_64)actigraph.sleepr_0.3.1.tar.gz(r-4.6-arm64)actigraph.sleepr_0.3.1.tar.gz(r-4.6-x86_64)
actigraph.sleepr_0.3.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
actigraph.sleepr/json (API)
NEWS

# Install 'actigraph.sleepr' in R:
install.packages('actigraph.sleepr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dipetkov/actigraph.sleepr/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

3.00 score 19 exports 44 dependencies

Last updated from:a953f3acc3. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK148
linux-devel-x86_64OK163
source / vignettesOK216
linux-release-arm64OK151
linux-release-x86_64OK176
wasm-releaseOK133

Exports:%>%apply_choiapply_cole_kripkeapply_sadehapply_troianoapply_tudor_lockecollapse_epochscombine_epochs_periodscomplement_periodsexpand_periodsexpand_timestampget_epoch_lengthhas_missing_epochsimpute_epochsplot_activityplot_activity_periodread_agdread_agd_rawtbl_agd

Dependencies:assertthatbitbit64blobcachemclicpp11DBIdplyrfarverfastmapgenericsggplot2gluegtableisobandlabelinglatticelifecyclelubridatemagrittrmemoisepillarpkgconfigpurrrR6RColorBrewerRcppRcppRollrlangRSQLiteS7scalesstringistringrtibbletidyrtidyselecttimechangeutf8vctrsviridisLitewithrzoo

Non-wear detection from ActiGraph data

Rendered fromdetect-nonwear.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2026-06-02
Started: 2026-06-02

Sleep detection from ActiGraph data

Rendered fromdetect-sleep.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2026-06-02
Started: 2026-06-02