Classify physical activity intensity directly from activity counts
Source:R/pa_intensity.R
classify_pa_counts.RdConvenience wrapper combining estimate_ee() and classify_pa_intensity()
in one call: converts raw ActTrust(R)/GT3X+ activity counts straight to a PA
intensity factor via the published "batista2026" (or future) equation
set, without needing to handle the intermediate MET values.
Arguments
- counts
Numeric vector of activity counts (counts/min, over the same epoch length used by the source equation set – 1-minute for
"batista2026"). Negative values are treated as0with a warning, since the underlying square-root transform is undefined below zero.- device
character(1)."ACTT"(default) or"GT3X+".- placement
character(1)."hip"(default) or"wrist".- equation_set
character(1), passed topa_equations(). Default"batista2026".
Value
An ordered factor, same length as counts and same levels as
classify_pa_intensity().
See also
estimate_ee(), classify_pa_intensity(), pa_equations() for
the coefficients and their generalisability caveats.
Examples
classify_pa_counts(c(0, 5000, 25000, 50000), device = "ACTT", placement = "hip")
#> [1] light light vigorous very_vigorous
#> Levels: light < moderate < vigorous < very_vigorous