Computes the acceleration resultant vector.
Value
An object of class impactr_data
with the acc_R
column
containing the acceleration resultant vector.
Examples
data <- read_acc(impactr_example("hip-raw.csv"))
use_resultant(data)
#> # Start time: 2021-04-06 15:43:00
#> # Sampling frequency: 100Hz
#> # Accelerometer placement: Non-specified
#> # Subject body mass: Non-specified
#> # Filter: No filter applied
#> # Data dimensions: 30,000 × 5
#> timestamp acc_X acc_Y acc_Z acc_R
#> <dttm> <dbl> <dbl> <dbl> <dbl>
#> 1 2021-04-06 15:43:00 0.262 -0.688 0.063 0.739
#> 2 2021-04-06 15:43:00 0.25 -0.727 0.039 0.770
#> 3 2021-04-06 15:43:00 0.254 -0.816 0.191 0.876
#> 4 2021-04-06 15:43:00 0.258 -0.891 0.367 0.998
#> 5 2021-04-06 15:43:00 0.281 -0.914 0.344 1.02
#> 6 2021-04-06 15:43:00 0.316 -0.922 0.23 1.00
#> 7 2021-04-06 15:43:00 0.32 -0.891 0.203 0.968
#> 8 2021-04-06 15:43:00 0.332 -0.926 0.109 0.990
#> 9 2021-04-06 15:43:00 0.363 -1.02 0.168 1.10
#> 10 2021-04-06 15:43:00 0.418 -0.996 0.387 1.15
#> # … with 29,990 more rows
#> # ℹ Use `print(n = ...)` to see more rows