AGread: AGread: Read Data Files from ActiGraph Monitors

AGreadR Documentation

AGread: Read Data Files from ActiGraph Monitors

Description

This provides support for reading ActiGraph files of various modes into 'R'. Functions are provided to read and minimally pre-process the following: binary data (.gt3x format), activity count data (.agd and .csv formats), and raw data from primary accelerometer and inertial measurement unit files (RAW.csv and IMU.csv formats, respectively). More information about .gt3x file formats can be found here.

Core functions

read_AG_counts

read_AG_raw

read_AG_IMU

read_gt3x

Examples


AG_counts <- read_AG_counts(
  system.file(
  "extdata",
  "example1sec.csv",
  package = "AGread"
  ),
  header = TRUE
)
AG_RAW <- read_AG_raw(
  system.file(
  "extdata",
  "exampleRAW.csv",
  package = "AGread"
  )
)
AG_IMU <- read_AG_IMU(
  system.file(
  "extdata",
  "example-IMU.csv",
  package = "AGread"
  )
)
file_3x <- system.file(
  "extdata", "example.gt3x", package = "AGread"
)
AG_3x <- read_gt3x(file_3x)

head(AG_counts)
head(AG_RAW)
head(AG_IMU)
head(lapply(AG_3x, head))



AGread documentation built on Sept. 13, 2022, 5:06 p.m.