Flexible R Functions for Processing Accelerometer Data, with Emphasis on NHANES 2003-2006
Dane R. Van Domelen and W. Stephen Pittard
, The R Journal (2014) 6:2, pages 52-62.
Abstract Accelerometers are a valuable tool for measuring physical activity (PA) in epidemiological studies. However, considerable processing is needed to convert time-series accelerometer data into meaningful variables for statistical analysis. This article describes two recently developed R packages for processing accelerometer data. The package accelerometry contains functions for performing various data processing procedures, such as identifying periods of non-wear time and bouts of activity. The functions are flexible, computationally efficient, and compatible with uniaxial or triaxial data. The package nhanesaccel is specifically for processing data from the National Health and Nutrition Examination Survey (NHANES), years 2003–2006. Its primary function generates measures of PA volume, intensity, frequency, and patterns according to user-specified data processing methods. This function can process the NHANES 2003-2006 dataset in under one minute, which is a drastic improve ment over existing software. This article highlights important features of packages accelerometry and nhanesaccel and demonstrates typical usage for PA researchers.
Received: 2014-03-15; online 2015-01-04@article{RJ-2014-024, author = {Dane R. Van Domelen and W. Stephen Pittard}, title = {{Flexible R Functions for Processing Accelerometer Data, with Emphasis on NHANES 2003-2006}}, year = {2014}, journal = {{The R Journal}}, doi = {10.32614/RJ-2014-024}, url = {https://doi.org/10.32614/RJ-2014-024}, pages = {52--62}, volume = {6}, number = {2} }