errorCts: Perform error checking

Description Usage Arguments Details Value Author(s) References See Also

Description

These functions look for errors in the data. A code is returned.

Usage

1
errorChk(x, fault = 32767)

Arguments

x

vector of accelerometer data.

fault

numerical value that indicates voltage signal saturation (temporarily used for both accelerometer counts and steps).

Details

Error coded are as follow: 0, no error; 1, all values are 5-digit values or all one value; 2, negative values; 3, NAs.

Value

a vector of the same length as x.

Author(s)

Marco Geraci

References

Geraci M, Rich C, Sera F, Cortina-Borja M, Griffiths LJ, and Dezateux C (2012). Technical report on accelerometry data processing in the Millennium Cohort Study. London, UK: University College London. Available at http://discovery.ucl.ac.uk/1361699

See Also

gt1mAccFile, gt3xAccFile


pawacc documentation built on May 2, 2019, 5:20 p.m.