readCounts:
Reads counts data in .dat, .agd, or .csv format for Actigraph GT1M and GT3X devices
Description
Reads counts data in .dat, .agd, or .csv format for Actigraph GT1M and GT3X devices. Device type and epoch is automatically detected and reported in the console.
Usage
readCounts(filename)
Arguments
filename
Speficy full file path and file name. e.g. C:/mydata.dat or C:/mydata.csv
Value
For uni-axial accelerometer (GT1M), two columns are returned, consisting of: [TimeStamp,Counts]
For tri-axial accelerometer (GT3X), four columns are returned, consisting of: [TimeStamp,x,y,z]