Package: sleepr
Title: Analyse Activity and Sleep Behaviour
Date: 2026-10-07
Version: 0.4.0
Authors@R: c(
    person("Quentin", "Geissmann", role = c("aut", "cre"), email = "qgeissmann@gmail.com")
    )
Description: Use behavioural variables to score activity and infer
        sleep from bouts of immobility. It is primarily designed to
        score sleep in fruit flies from Drosophila Activity Monitor
        (TriKinetics) and Ethoscope data. It implements sleep scoring
        using the "five-minute rule" (Hendricks et al. (2000)
        <DOI:10.1016/S0896-6273(00)80877-6>), activity classification
        for Ethoscopes (Geissmann et al. (2017)
        <DOI:10.1371/journal.pbio.2003026>) and a new algorithm to
        detect when animals are dead.
Depends: R (>= 3.00), behavr
Imports: data.table
Suggests: testthat, covr, knitr
License: GPL-3
Encoding: UTF-8
URL: https://github.com/rethomics/sleepr
BugReports: https://github.com/rethomics/sleepr/issues
RoxygenNote: 7.3.2
Roxygen: list(markdown = TRUE)
Repository: https://rethomics.r-universe.dev
Date/Publication: 2026-10-07 18:44:58 UTC
RemoteUrl: https://github.com/rethomics/sleepr
RemoteRef: HEAD
RemoteSha: 4f9650952909422fd91cf802410d0f4f7dc24572
NeedsCompilation: no
Packaged: 2026-10-07 23:50:12 UTC; root
Author: Quentin Geissmann [aut, cre]
Maintainer: Quentin Geissmann <qgeissmann@gmail.com>
