R/add_movement_functions.R
add_gaze_elevation.RdTakes a movement or eye tracker data frame, derives rotation matrices from orientation data, and adds the gaze elevation over the horizontal plane.
add_gaze_elevation(df, direction = c(0, 0, 1))Original data frame with column `gaze_elevation` in degrees added.