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)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)
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
If only start is defined then g.binread will read all data beyond
start until the end of the file is reached