For reading the binary data as collected with a Genea accelerometer (Unilever Discover, UK). For reading GENEActive binary data, see package GENEAread.
g.binread(binfile, start = 0, end = 0)
rawxyzmatrix with raw x, y, and, z acceleration values
headerfile header
timestamps1timestamps for rawxyz in seconds since 1970-01-01 00:00
timestamps2timestamps for rawxyz in day time format
batt.voltagematrix with battery voltage and corresponding timestamps
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)
Vincent T van Hees <v.vanhees@accelting.com> Jing Hua Zhao <jinghua.zhao@mrc-epid.cam.ac.uk>
If only start is defined then g.binread will read all data beyond
start until the end of the file is reached