youth_sojourn_tree: Decision tree for making final predictions in the youth...

Description Usage Arguments Value

Description

Decision tree for making final predictions in the youth Sojourn method

Usage

1
2
youth_sojourn_tree(Vector.Magnitude, Block.Est, Sojourns.Est, Hip = TRUE,
  RAW = FALSE, epoch = 1)

Arguments

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.

Value

A factor vector of predicted physical activity intensities (Sedentary, Light, or moderate-to-vigorous physical activity (MVPA))


Sojourn documentation built on May 6, 2019, 9:02 a.m.