Package: actigraph.sleepr 0.3.1

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.zip(r-4.7)actigraph.sleepr_0.3.1.zip(r-4.6)actigraph.sleepr_0.3.1.zip(r-4.5)
actigraph.sleepr_0.3.1.tgz(r-4.6-x86_64)actigraph.sleepr_0.3.1.tgz(r-4.6-arm64)actigraph.sleepr_0.3.1.tgz(r-4.5-x86_64)actigraph.sleepr_0.3.1.tgz(r-4.5-arm64)
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://dipetkov.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

6.03 score 36 stars 19 exports 44 dependencies

Last updated from:dcbfa3890f. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK158
linux-devel-x86_64OK159
source / vignettesOK237
linux-release-arm64OK149
linux-release-x86_64OK168
macos-release-arm64OK145
macos-release-x86_64OK258
macos-oldrel-arm64OK211
macos-oldrel-x86_64OK465
windows-develOK134
windows-releaseOK138
windows-oldrelOK151
wasm-releaseOK124

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 03 2026.

Last update: 2026-05-26
Started: 2016-12-22

Sleep detection from ActiGraph data

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

Last update: 2026-05-17
Started: 2016-12-22