readCounts {acc} | R Documentation |
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]
Author(s)
Jaejoon Song <jjsong2@mdanderson.org>
Examples
##
## A example to read counts data
##
## Not run:
accData1 <- readCounts("C:/mydata.agd")
accData1 <- readCounts("C:/mydata.dat")
accData2 <- readCounts("C:/mydata.csv")
## End(Not run)
[Package acc version 1.3.3 Index]