View source: R/pipeline-confounds.R
tag_gaze_coords | R Documentation |
Identifies when gaze coordinates fall outside the screen boundaries, with an optional buffer zone to account for potential overshoot in eye tracking.
tag_gaze_coords(pupil_df, screen_width, screen_height, overshoot_buffer = 0.05)
pupil_df |
A data frame containing gaze coordinates |
screen_width |
The screen width in pixels |
screen_height |
The screen height in pixels |
overshoot_buffer |
Additional buffer zone beyond screen edges
(default: |
A data frame with added column:
is_offscreen
: Logical indicating if gaze is outside screen boundaries
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.