readCounts: Reads counts data in .dat, .agd, or .csv format for Actigraph...

readCountsR 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)



github-js/acc documentation built on Aug. 21, 2023, 5:40 p.m.