soj_g | R Documentation |
Soj-g function from Marcotte et al 2021
soj_g(
data = NA,
export_format = "session",
freq = 80,
step1_sd_threshold = 0.00375,
step2_nest_length = 5,
step3_nest_length = 60,
step3_orig_soj_length_min = 180
)
data |
A dataframe with raw wrist accelerometer data with column names Timestamp, AxisX, AxisY, AxisZ, VM |
freq |
Sampling frequency of raw accelerometer data. 80 Hz by default |
step1_sd_threshold |
Threshold used to classify likely inactive periods |
step2_nest_length |
Window length for classifying inactive vs active using random forest model |
step3_nest_length |
Window length for partitioning excessively long sojourns as determined by step3_orig_soj_length_min |
step3_orig_soj_length_min |
Maximum sojourn window duration allowed until partitioning into nested sojourns |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.