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)
rawxyz
matrix with raw x, y, and, z acceleration values
header
file header
timestamps1
timestamps for rawxyz
in seconds since 1970-01-01 00:00
timestamps2
timestamps for rawxyz
in day time format
batt.voltage
matrix 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