Description Usage Arguments Value
View source: R/youth_sojourn_tree.R
Decision tree for making final predictions in the youth Sojourn method
1 2 3 4 5 6 7 8 | youth_sojourn_tree(
Vector.Magnitude,
Block.Est,
Sojourns.Est,
Hip = TRUE,
RAW = FALSE,
epoch = 1
)
|
Vector.Magnitude |
numeric vector of triaxial acceleration (vector magnitude for activity counts, and Euclidian Norm Minus One for raw acceleration) |
Block.Est |
predictions obtained from the neural networks using static segmentation |
Sojourns.Est |
predictions obtained from the neural networks using dynamic segmentation (i.e., Sojourn-specific predictions) |
Hip |
logical. Are data from a hip-worn device? |
RAW |
logical. Are the data raw acceleration? |
epoch |
numeric. The epoch length of the data. Values other than one are not recommended. |
A factor vector of predicted physical activity intensities (Sedentary, Light, or moderate-to-vigorous physical activity (MVPA))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.