Type: Package
Package: actisomni
Title: Create Sleep Measures of Actigraphy and Activity Analysis
Version: 0.5.0
Authors@R: c(
    person(given = "John",
           family = "Muschelli",
           role = c("aut", "cre"),
           email = "muschellij2@gmail.com",
           comment = c(ORCID = "0000-0001-6469-1750"))
    )
Description: Estimates sleep from wrist accelerometry and epoch-level activity
    data. Implements sleep-period-time guiders based on angle changes, posture,
    least-active periods, sustained inactivity, low activity, and diary or
    fixed time windows; combines guider windows with sustained-inactivity bouts
    to produce sleep/wake labels and consensus estimates. Provides diary
    helpers, and interfaces to the 'asleep', 'sleeper', and 'rester'
    machine-learning estimators. The angle-based and
    sustained-inactivity methods are described by van Hees et al. (2015)
    <doi:10.1371/journal.pone.0142533> and van Hees et al. (2018)
    <doi:10.1038/s41598-018-31266-z>; the model estimators are described by
    Yuan et al. (2024) <doi:10.1038/s41746-024-01065-0>,
    Sundararajan et al. (2021) <doi:10.1038/s41598-020-79217-x>, and
    Lorenzen et al. (2026) <doi:10.64898/2026.01.28.26345056>.
License: GPL-3
Depends: R (>= 4.1.0)
Suggests: testthat (>= 3.0.0), utils, covr, knitr, httr, rmarkdown,
        data.table, reticulate, callr, GGIR, rlang, actimetrics,
        actiread, rester
Encoding: UTF-8
Imports: actibase (>= 0.8.0), dplyr, lubridate, assertthat, tibble,
        stats, asleep (>= 0.4.0), sleeper
Config/roxygen2/version: 8.1.1
URL: https://github.com/jhuwit/actisomni,
        https://jhuwit.github.io/actisomni/
BugReports: https://github.com/jhuwit/actisomni/issues
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2026-11-12 20:47:29 UTC; johnmuschelli
Author: John Muschelli [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-6469-1750>)
Maintainer: John Muschelli <muschellij2@gmail.com>
Repository: CRAN
Date/Publication: 2026-11-13 09:10:46 UTC
Built: R 4.6.1; ; 2026-11-13 12:22:43 UTC; unix
