Learn R Programming

acc (version 1.0.2)

readRaw: readRaw

Description

Reads raw files in .dat format for Actigraph GT1M and GT3X devices. Device type and epoch is automatically detected and reported in the console.

Usage

readRaw(filename)

Arguments

filename
Speficy full file path and file name. e.g. C:/mydata.dat

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]

Examples

Run this code
##
## A example to read raw data
##
# readRaw("C:/mydata.dat")

Run the code above in your browser using DataLab