read_AG_raw | R Documentation |
File reading function for primary accelerometer files
read_AG_raw( file, output_window_secs = 1, calibrate = FALSE, verbose = FALSE, block = FALSE, return_raw = FALSE, ... )
file |
A character scalar giving path to primary accelerometer file |
output_window_secs |
the desired epoch length; defaults to one second |
calibrate |
logical. Perform autocalibration using g.calibrate |
verbose |
A logical scalar: Print processing updates? |
block |
logical. Should file be read in blocks? Will be automatically invoked if file is larger than 2 GB. |
return_raw |
logical. Return raw triaxial data? |
... |
Arguments passed to |
A dataframe giving processed raw data from the primary accelerometer in the specified epoch length
raw_file <- system.file( "extdata", "exampleRAW.csv", package = "AGread" ) ## suppress messages that indicate truncation when sampling ## rate and output window don't line up AG_RAW <- suppressMessages( read_AG_raw(raw_file) ) head(AG_RAW)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.