powered by
Define the region of interest for data analysis based on the accelerometer data timestamp.
define_region(data, start_time, end_time)
An object of class impactr_data.
impactr_data
An impactr_data object, as obtained with read_acc().
A character string with the start and end times of the region of interest in the "YYYY-MM-DD HH:MM:SS" format.
data <- read_acc(impactr_example("hip-raw.csv")) define_region( data, start_time = "2021-04-06 15:45:00", end_time = "2021-04-06 15:46:00" )
Run the code above in your browser using DataLab