Learn R Programming

GGIRread (version 1.0.7)

readActiGraphCount: Read ActiGraph Count data files (csv)

Description

Reads ActiGraph Count data file. Currently a variety of csv format are facilitated.

Usage

readActiGraphCount(filename = NULL, 
                            timeformat = "%m/%d/%Y %H:%M:%S",
                            desiredtz = "", configtz = NULL,
                            timeformatName = "timeformat")

Value

data

Matrix with one or multiple columns

epochSize

epoch size in seconds of data

startTime

POSIXlt format timestamp on which recording starts

deviceSerialNumber

Device serial number if it could be extracted from the file header

Arguments

filename

filename (required)

timeformat

Character, timestemp format.

desiredtz

Character, timezone name where the accelerometer was worn. Timezone names are expected to be the timezone database names, e.g. Europe/London. See also: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

configtz

Character, timezone name where the accelerometer was configured. Leave NULL if equal to desiredtz. Timezones name are expected to be the timezone database names, e.g. Europe/London. See also: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

timeformatName

Character, name of timeformat variable to print in error message when timeformat is incorrect, of use to GGIR where argument names can differ.

Author

Vincent T van Hees <v.vanhees@accelting.com>