Description Usage Arguments Value
Returns a datatable to merge accelerometer data back into EMA data
1 2 3 | ema_acc_fast(ema_file, activity_data, time_stubs = c("15", "30", "60",
"120"), activity_types = c("VALID", "NONVALID", "MOD", "VIG", "SED",
"LIGHT", "MVPA", "MVPA_BOUT", "ACTIVITY"), cut_dataset_start = 0)
|
ema_file |
A csv file with three columns, id, fulltime, and index in that specific order |
activity_data |
An |
time_stubs |
Time windows to use |
activity_types |
Types of activity from |
cut_dataset_start |
the number of timea to split the ema dataset, this might be needed for very large studies or slow computers |
A data.table with windows appended to ema_stubs file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.