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>.

Version: 1.0.1
Depends: R (≥ 3.5.0)
Imports: PhysicalActivity, tools, stats, utils
Suggests: testthat (≥ 3.0.0), RSQLite, spelling
Published: 2025-09-16
Author: Jairo H Migueles [aut, cre], Elroy J Aguiar [fnd] (Funding and data support), University of Alabama [fnd]
Maintainer: Jairo H Migueles <jairo at jhmigueles.com>
BugReports: https://github.com/jhmigueles/stepmetrics/issues
License: AGPL (≥ 3)
URL: https://github.com/jhmigueles/stepmetrics
NeedsCompilation: no
Language: en-US
Citation: stepmetrics citation info
Materials: README, NEWS
CRAN checks: stepmetrics results

Documentation:

Reference manual: stepmetrics.html , stepmetrics.pdf

Downloads:

Package source: stepmetrics_1.0.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): stepmetrics_1.0.1.tgz, r-oldrel (x86_64): stepmetrics_1.0.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=stepmetrics to link to this page.

mirror server hosted at Truenetwork, Russian Federation.