Read GENEActiv Binary File
Usage
acti_read_geneactiv(
path,
start = 0,
end = Inf,
tz = "UTC",
...,
apply_tz = TRUE,
verbose = TRUE
)
acti_read_geneactiv_header(path)Arguments
- path
Path to GENEActiv binary file
- start
where to start in the file, passed to GGIRread::readGENEActiv
- end
where to end in the file, passed to GGIRread::readGENEActiv
- tz
time zone for the data
time, passed todesiredtzargument in GGIRread::readGENEActiv. If NULL or"", no time conversion is done.- ...
additional arguments to pass to
GGIRread::readGENEActiv()- apply_tz
turn the
timecolumn into aPOSIXctin time zonetz. IfFALSE,timeis left as seconds since 1970-01-01.- verbose
print diagnostic messages, higher values = more verbosity.
Examples
data = acti_read_geneactiv(acti_example_geneactiv())
data = acti_read_geneactiv(
acti_example_geneactiv(),
tz = NULL,
apply_tz = FALSE,
verbose = FALSE
)
header = acti_read_geneactiv_header(acti_example_geneactiv())