AGread | R Documentation |
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.
read_AG_counts
read_AG_raw
read_AG_IMU
read_gt3x
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.