GENEActivReader {GGIRread}R Documentation

Function (C++) to read binary files as produced by the GENEActiv accelerometer

Description

Function to read binary files as produced by the GENEActiv accelerometer by ActivInsights Ltd https://activinsights.com/

Usage

  GENEActivReader(filename, start = 0L, end = 0L, progress_bar = FALSE)

Arguments

filename

filename (required)

start

start page for reading data

end

end page for reading data

progress_bar

Boolean

Details

If only start page is defined then all data is read beyond start until the end of the file is reached

Value

info

List with ReadOK (good=0 or error=1), ReadErrors (Count of pages with read errors), SampleRate (Hertz), numBlocksTotal

time

Numeric vector with time in miliseconds since start page

x

Numeric vector with x-axis acceleration in gravitational units

y

Numeric vector with y-axis acceleration in gravitational units

z

Numeric vector with z-axis acceleration in gravitational units

temperature

matrix with battery voltage and corresponding timestamps

lux

Numeric vector with lux values in Volts

Author(s)

Patrick Bos <egpbos@gmail.com> Vincent T van Hees <v.vanhees@accelting.com>


[Package GGIRread version 1.0.1 Index]