For reading .cwa-format data, if you have .wav format data then see function g.wavread
g.cwaread(fileName, start = 0, end = 0, progressBar = FALSE,
desiredtz = "", configtz = c(), interpolationType=1)
data
dataframe with timestamp, raw x, -y, and, -z acceleration values, temperature, battery and light
header
file header
filename (required)
start point for reading data, this can either be a timestamp "year-month-day hr:min:sec" or a page number (optional)
end point for reading data, this can either be a timestamp "year-month-day hr:min:sec" or a page number (optional)
Is trigger to switch on/off the text progress bar. If progressBar is TRUE then the function displays the progress bar but it works slightly slower
Desired timezone, see documentation g.getmeta
Only functional for AX3 cwa data at the moment. Timezone in which the accelerometer was configured. Only use this argument if the timezone of configuration and timezone in which recording took place are different.
Integer to indicate type of interpolation to be used when resampling time series (mainly relevant for Axivity sensors), 1=linear, 2=nearest neighbour.
Evgeny Mirkes <em322@leicester.ac.uk> Vincent van Hees <v.vanhees@accelting.com>