Crandore Hub

stepmetrics

Calculate Step and Cadence Metrics from Wearable Data

Provides functions to calculate step- and cadence-based metrics from timestamped accelerometer and wearable device data. Supports CSV and AGD files from 'ActiGraph' devices, CSV files from 'Fitbit' devices, and step counts derived with R package 'GGIR' <https://github.com/wadpac/GGIR>, with automatic handling of epoch lengths from 1 to 60 seconds. Metrics include total steps, cadence peaks, minutes and steps in predefined cadence bands, and time and steps in moderate-to-vigorous physical activity (MVPA). Methods and thresholds are informed by the literature, e.g., Tudor-Locke and Rowe (2012) <doi:10.2165/11599170-000000000-00000>, Barreira et al. (2012) <doi:10.1249/MSS.0b013e318254f2a3>, and Tudor-Locke et al. (2018) <doi:10.1136/bjsports-2017-097628>. The package record is also available on Zenodo (2023) <doi:10.5281/zenodo.7858094>.

Versions across snapshots

VersionRepositoryFileSize
1.0.3 rolling linux/jammy R-4.5 stepmetrics_1.0.3.tar.gz 1.7 MiB
1.0.3 rolling linux/noble R-4.5 stepmetrics_1.0.3.tar.gz 1.7 MiB
1.0.3 rolling source/ R- stepmetrics_1.0.3.tar.gz 1.7 MiB
1.0.3 latest linux/jammy R-4.5 stepmetrics_1.0.3.tar.gz 1.7 MiB
1.0.3 latest linux/noble R-4.5 stepmetrics_1.0.3.tar.gz 1.7 MiB
1.0.3 latest source/ R- stepmetrics_1.0.3.tar.gz 1.7 MiB
1.0.3 2026-04-26 source/ R- stepmetrics_1.0.3.tar.gz 1.7 MiB
1.0.3 2026-04-23 source/ R- stepmetrics_1.0.3.tar.gz 1.7 MiB
1.0.3 2026-04-09 windows/windows R-4.5 stepmetrics_1.0.3.zip 1.7 MiB

Dependencies (latest)

Imports

Suggests