View source: R/staudenmayer2015_rf_loco.R
staudenmayer2015_rf_loco | R Documentation |
Tree models from Staudenmayer et al 2015
staudenmayer2015_rf_loco(
acc_data_raw,
mods_filepath = NA,
samp_freq = 80,
epoch = 15,
expand_1sec = F
)
acc_data_raw |
Raw tri-axial wrist accelerometer data with column names Timestamp, AxisX, AxisY, AxisZ |
mods_filepath |
Filepath that contains rf.loc.model in an RData object. Assuming by default that model is already loaded in the environment. |
samp_freq |
Sampling frequency of the raw accelerometer data. Default is 80 hz |
epoch |
Non-overlapping window size in seconds. Default is 15-seconds |
expand_1sec |
Binary indicator of whether only SedSphere estimates should be returned as a second-by-second vector |
Aggregated data in 15-second epochs with accelerometer values and SedSphere estimate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.