Detect Periods of Sleep and Non-Wear in 'ActiGraph' Data
Overview
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, Cole-Kripke (1992) doi:10.1093/sleep/15.5.461, and Oakley (1997) 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.
- Added Webster rescoring for Cole-Kripke.
- Added Oakley sleep algorithm.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-20
- ERROR11 OK, 2 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK6 OK2026-06-03
Documentation
- Help pages
- 22 (1 internal)includes a package overview page
- Examples that run
- 100%18 run in a plain check
- Exported functions with examples
- 90%
- Documented parameters
- 97%
- Return-value docs
- 100%
- Help pages citing references
- 41%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 96
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
Commit identities over time
11 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/dipetkov/actigraph.sleepr on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 3 practices
Dependencies
Installing actigraph.sleepr adds 43 packages (25 with compiled code, 37 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, RSQLite 4.2 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.4.0Latest
- 0.3.12026-06-02
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-06-02
- Total releases
- 2 / 1 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.2.4
- Bundled data
- 20 KB / 1 file
- Download size
- 624 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("actigraph.sleepr")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.