Convenient wrapper around `reorient_movement_to_start`. For provided columns, reorients movement dataframes contained in the provided columns. Returns the data frame with new columns added.

reorient_movement_cols_to_start(
  df,
  .cols = tidyselect::ends_with("waist_movement_data_0"),
  ref_pos_col = c()
)

Arguments

df

A trial results data frame.

.cols

Columns containing dataframes to reorient (Default: waist tracker data).

ref_pos_col

Reference position column (for example, generated with `find_start_pos`). Default: no reference, will default to a list of zeros.

Value

The data frame with a new columns of resampled movements added, with new column name ending with `_reoriented`.