| read_agd | R Documentation |
Read an ActiGraph agd file
read_agd(
file,
return = c("data", "settings", "both"),
tz = "UTC",
verbose = FALSE
)
file |
character. Path to the agd file |
return |
character. The desired elements to return (see details) |
tz |
character. The desired timezone |
verbose |
logical. Print updates to console? |
The agd is made up of a settings element and a data
element. The former is likely only necessary for debugging, and so the
default is to return only the data element. Both settings and
data are in data frame format. If return = "both", they are
given as a list.
the desired output
agd_file <- system.file("extdata", "example1sec.agd", package = "AGread")
read_agd(agd_file, "both")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.