Checks validity of movement tracker data by using `check_valid_movement` on all movement data columns contained in the data frame. The reference column is checked against the starting position; all other columns are checked against the reference column.

check_tracker_cols(df, start_pos, ref_tracker = "head_movement_data_0")

Arguments

df

A trial results data frame with movement data columns

start_pos

A trial start position column (expects, per row, a list with elements `x` and `z`) (string)

ref_tracker

A reference tracker column (string, default is "head_movement_data_0")

Value

The same dataframe, with new columns `valid_` which contains detailed information for each tracker (list), and a column `valid_trackers` that combines information from all trackers (Boolean)