Description Usage Arguments Details
Returns a data.frame with Accelerometer data summarised to a defined epoch
1 2 | process.acc(accfile, participant.id, cutoff.method, epoch.length, acc.model,
raw = FALSE, samples.per.second = 30, nonwear = TRUE)
|
accfile |
The accelerometer file to merge, a .csv |
participant.id |
A unique identifier for the participant |
cutoff.method |
1,2 or 3 1=no cutoff, keep all data 2=take 7 days from the first point 3=if there are over 8 days, trim the first then take 7 days, if there are 8 days, trim the first and keep the rest, if there are 7 or less days, keep them all |
epoch.length |
epoch.length in seconds, currently, 5, 10 or 15 seconds only tested 1= need to account for BST, 0= do not |
acc.model |
The accelerometer model. Currently "Actigraph" and "Actiheart" are valid |
raw |
Boolean, if TRUE you are using raw data, not counts, must be exported as .csv, not the .gt3x, or .agd files |
samples.per.second |
The sampling rate of raw data if used, default is 30Hz, adjust if required |
Currently only works for Actigraph or Actiheart accelerometer files, If you need other types contect the author , they can be included
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.