agread: Read in raw acceleration data

View source: R/agread.R

agreadR Documentation

Read in raw acceleration data

Description

This function reads in raw acceleration data with the pygt3x Python package, the read.gt3x R package with GGIR autocalibration, or the read.gt3x R package.

Usage

agread(
  path,
  parser = c("pygt3x", "GGIR", "read.gt3x"),
  tz = "UTC",
  verbose = FALSE,
  ...
)

Arguments

path

Path name to the GT3X file or the dataset with columns time, X, Y, and Z axis

parser

The parser to use when reading in the data. Parser values include pygt3x, GGIR, and read.gt3x options.

tz

the desired timezone, Default: UTC

verbose

Print the read method, Default: FALSE.

...

Additional arguments to pass into the agread function

Details

This function reads in raw acceleration data with the pygt3x Python package, the read.gt3x R package with GGIR autocalibration, or the read.gt3x R package.

Value

Returns the raw acceleration data

See Also

g.calibrate read.gt3x

Examples

    agread(system.file("extdata/example.gt3x", package = "agcounts"), parser = "pygt3x")

bhelsel/agcounts documentation built on June 14, 2024, 12:41 a.m.