| gt1mAccFile | R Documentation |
This function reads an Actigraph GT1M accelerometer file.
gt1mAccFile(file, path, fileid, counts.pos = 1,
tz = "Europe/London", sparse = FALSE,
fault = 32767)
file |
file name including file extension. |
path |
path to |
fileid |
label for file identifier. |
counts.pos |
when storage mode allows for accelerometer counts and steps to be recorded at the same time, this argument specifies the position of first measurement of accelerometer counts (default is |
tz |
a character string specifying the timezone to be used for the conversion (see |
sparse |
logical flag: should data be stored in sparse format? |
fault |
numerical value that indicates voltage signal saturation. |
Raw accelerometer data are processed according to the device data format. Several data checks are performed by errorChk and infoDate. An additional check is performed on the lenght of the sequence of measurements when both accelerometer counts and steps are recorded. If the length is odd, a warning message is produced. See file 'gt1m_sample.dat' in directory '\inst\extdata' of this package.
These functions return an object of two classes: accfile and additional device-specific class (i.e., gt1m).
An object of class accfile is a list containing the following components:
df |
A |
info |
A |
error_summary |
A |
Marco Geraci
Actigraph (Pensacola, Florida).
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 https://discovery.ucl.ac.uk/1361699
readAccDir, gt1mAccDir
data(gt1m_sample)
class(gt1m_sample)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.