The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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
DOI: 10.32614/CRAN.package.stepmetrics
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 [issues need fixing before 2025-09-30]

Documentation:

Reference manual: stepmetrics.html , stepmetrics.pdf

Downloads:

Package source: stepmetrics_1.0.1.tar.gz
Windows binaries: r-devel: stepmetrics_1.0.1.zip, r-release: stepmetrics_1.0.1.zip, r-oldrel: stepmetrics_1.0.1.zip
macOS binaries: r-release (arm64): stepmetrics_1.0.1.tgz, r-oldrel (arm64): stepmetrics_1.0.1.tgz, 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.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.