Levels of physical activity
mpa_min_ap.Rd
Determines how many moderate, vigrous, and moderate-vigrous physical activity minutes occurred for a given interval.
Details
These functions are similar to the
activpalProcessing::mvpa.min.AP()
function but the METs cutoff values used
to define the levels of activity have be adjusted.
METs between [3, 6) define moderate physical activity
METs greater than or equal to 6 define vigrous physical activity
METs greater than or equal to 3 define moderate-vigrous physical activity
Examples
x <- runif(100, 1, 10)
mpa_min_ap(x)
#> [1] 0.6
vpa_min_ap(x)
#> [1] 0.6333333
mvpa_min_ap(x)
#> [1] 1.233333