read_AG_IMU | R Documentation |
File reading function for IMU files
read_AG_IMU( file, output_window_secs = 1, verbose = FALSE, filter = TRUE, filter_hz = 35, output_vars = c("accelerometer", "temperature", "gyroscope", "magnetometer"), return_raw = FALSE )
file |
character scalar giving the path to the IMU file |
output_window_secs |
the desired epoch length; defaults to one second |
verbose |
A logical scalar: Print processing updates? |
filter |
a logical scalar: Apply a low-pass filter to gyroscope data? |
filter_hz |
The cutoff for the low-pass filter |
output_vars |
character. IMU variables to include in output. |
return_raw |
logical. Return raw triaxial data? |
A dataframe giving processed IMU data in the specified epoch length
imu_file <- system.file( "extdata", "example-IMU.csv", package = "AGread" ) AG_IMU <- read_AG_IMU(imu_file) head(AG_IMU)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.