Description Usage Arguments Value Note Examples
View source: R/youth_apply_sojourn.R
Function for using the youth Sojourn method developed by Hibbing et al. (2018)
1 2 3 4 5 6 7 8 |
AG |
a data frame of monitor and demographic data |
vm |
the variable to use for processing, either
|
Site |
the wear location of the monitor, either |
demo_interactive |
logical. Input demographics interactively if missing variables are identified during format checking? |
verbose |
logical. Print processing updates to the console? |
... |
Further arguments passed to |
The original data frame, plus additional predictions made by the Sojourn method
The functions AGread::read_AG_counts
and
AGread::read_AG_raw
are recommended for assembling the
monitor-specific portion of the AG
data frame.
1 2 3 4 5 6 7 8 | data(example_data, package = "Sojourn")
results_youth_soj <- apply_youth_sojourn(
AG = example_data,
vm = "Vector.Magnitude",
Site = "Hip"
)
utils::head(results_youth_soj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.