gps.acc.merge: Merging GPS and accelerometer files

Description Usage Arguments Details

View source: R/gps.acc.merge.R

Description

Returns a data.frame with Accelerometer and GPS data merged by timestamp

Usage

1
2
gps.acc.merge(acc.data, gpsfile, participant.id, epoch.length,
  british.time = FALSE, UTC.offset = 0)

Arguments

acc.data

The accelerometer data to merge, processed with process.acc

gpsfile

The GPS file to merge, a .csv

participant.id

A unique identifier for the participant

epoch.length

epoch.length in seconds, currently, 5, 10 or 15 seconds only tested

british.time

boolean, whether or not we the study is in Britain, so we need to check if the data was collected within BST and adjust GPS UTC timings by 1hour

UTC.offset

Hours offset from UTC, e.g. 3 hours ahead, UTC.offset=3, 3 hours behind, UTC=(-3)

Details

Currently only tested with Qstarz GPS device files. If you need other types contect the author , they can be included with ease


dprocter/modeid documentation built on May 19, 2019, 8:21 a.m.