Learn R Programming

GGIR (version 2.7-1)

g.wavread: function to read .wav files as produced by the accelerometer named 'Axivity'

Description

For reading the wav accelerometer data as collected with an Axivity accelerometer

Usage

g.wavread(wavfile, start = 1, end = 100,units="minutes")

Value

rawxyz

matrix with raw x, y, and, z acceleration values

header

file header

timestamps

local timestamps for rawxyz

Arguments

wavfile

filename (required)

start

start point for reading data, see also units

end

end point for reading data, see also units

units

units used for defining start and end

Author

Vincent T van Hees <v.vanhees@accelting.com>

Details

If only start is defined then g.binread will read all data beyond start until the end of the file is reached