readGenea | R Documentation |
For reading the binary data as collected with a Genea accelerometer (Unilever Discover, UK). For reading GENEActive binary data, see package GENEAread.
readGenea(filename, start = 0, end = 0)
filename |
filename (required) |
start |
start point for reading data, this can either be a timestamp in POSIXct format "year-month-day hr:min:sec" or a page number (optional) |
end |
end point for reading data, this can either be a timestamp in POSIXct format "year-month-day hr:min:sec" or a page number (optional) |
If only start
is defined then readGenea
will read all data beyond
start
until the end of the file is reached
rawxyz |
matrix with raw x, y, and, z acceleration values |
header |
file header |
timestamps1 |
timestamps for |
timestamps2 |
timestamps for |
batt.voltage |
matrix with battery voltage and corresponding timestamps |
Vincent T van Hees <v.vanhees@accelting.com> Jing Hua Zhao <jinghua.zhao@mrc-epid.cam.ac.uk>
geneafile = system.file("testfiles/genea_testfile.bin", package = "GGIRread")[1]
GENEA = readGenea(filename = geneafile, start = 0, end = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.