Skip to content

actiRhythm

0.1.0

Circadian Rest-Activity Rhythm Analysis

0packages depend
93downloads / year
67.9%test coverage
10/12checks pass

Overview

About
Maintained by Raymond Dacosta AzaddaFirst published 2026-07-291 releasesCRAN page ↗GitHub ↗

Quantifies the circadian rest-activity rhythm, the roughly 24-hour cycle of activity and rest, from activity counts and raw accelerometer recordings. Analyses run on an activity-count vector and its timestamps, and a built-in reader loads 'ActiGraph' '.agd' files (an 'SQLite' database) directly. Computes nonparametric metrics (interdaily stability (IS) and intradaily variability (IV) following Witting et al. (1990) doi:10.1016/0006-3223(90)90523-5; relative amplitude (RA), the least-active 5-hour window (L5), and the most-active 10-hour window (M10) following Van Someren et al. (1999) doi:10.3109/07420529908998724), cosinor models with a rhythmicity test, confidence ellipses, population-mean cosinor, and two-group parameter comparison (Cornelissen (2014) doi:10.1186/1742-4682-11-16; Marler et al. (2006) doi:10.1002/sim.2466), period estimation by Lomb-Scargle (Lomb (1976) doi:10.1007/BF00648343; Scargle (1982) doi:10.1086/160554) and chi-square (Sokolove and Bushell (1978) doi:10.1016/0022-5193(78)90022-X) periodograms with bootstrap confidence intervals and a sliding-window spectrogram, fractal and nonlinear measures (Peng et al. (1994) doi:10.1103/PhysRevE.49.1685; Kantelhardt et al. (2002) doi:10.1016/S0378-4371(02)01383-3), the Sleep Regularity Index (Phillips et al. (2017) doi:10.1038/s41598-017-03171-4), social jet lag, rest-activity state transitions, and locomotor inactivity during sleep (Winnebeck et al. (2018) doi:10.1016/j.cub.2017.11.063). It also reads raw accelerometer files ('ActiGraph' '.gt3x', 'Axivity' '.cwa', 'GENEActiv' '.bin'), auto-calibrates them (van Hees et al. (2014) doi:10.1152/japplphysiol.00421.2014), and derives the ENMO, MAD, and z-angle metrics with diary-free sleep-period detection (van Hees et al. (2018) doi:10.1038/s41598-018-31266-z), cross-checked against 'GGIR'. A batch mode runs the analysis over a folder of files and writes a multi-sheet 'Excel' workbook.

Install

Health

CRAN checks
2NOTE10OK
Failing flavors
  • NOTE r-oldrel-macos-arm64
  • NOTE r-release-macos-arm64
Slowest check: 17.0 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.27
67.9%
Coverage · measured lines
100%
Documentation · exports
10
Dependencies · direct
Check history
  • NOTE2026-07-31
    6 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-30
    5 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,113 wordsVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
60%
Documented parameters
95%
Return-value docs
100%
References docs
60%

Downloads

93
CRAN downloads in the past year
Rank #24,577 · ~0/day · ~8/mo
Daily download trend is not available in this view yet.
Also on7 r2u

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2026-07-18

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/rdazadda/actirhythm on 2026-08-03.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1
Imports (10)
DBIgrDevicesggplot2RcppRdpackRSQLitescalessplinesstatsutils
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author
Listed in earlier versions (1)
no longer listed · 0.1.0
Package Timeline

1 release. R releases are shown for context.

  • 0.1.0Latest
    2026-07-29 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-07-29
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("actiRhythm")

CRAN DOI

https://doi.org/10.32614/CRAN.package.actiRhythm

BibTeX, derived from DESCRIPTION

@Manual{actiRhythm,
  title  = {actiRhythm: Circadian Rest-Activity Rhythm Analysis},
  author = {Azadda, Raymond Dacosta and CEAL Team and Rasmus, Stacy},
  year   = {2026},
  note   = {R package version 0.1.0},
  doi    = {10.32614/CRAN.package.actiRhythm},
  url    = {https://CRAN.R-project.org/package=actiRhythm}
}

Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatoryactiRhythm,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {actiRhythm} version 0.1.0},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/actiRhythm},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for actiRhythm version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/actiRhythm

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for actiRhythm version 0.1.0
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/actiRhythm
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/actiRhythm.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy