View source: R/pipeline-confounds.R
get_confounds_for_step | R Documentation |
Computes various metrics from pupil data including:
Blink detection
Gaze on/off screen detection
Gap analysis
Gaze distance from screen center
Gaze variance
Blink rate
Blink duration
Blink time
get_confounds_for_step(pupil_df, pupil_vec, screen_width, screen_height, hz)
pupil_df |
A data frame containing pupil data |
pupil_vec |
A vector of pupil data for the current step |
screen_width |
The screen width in pixels |
screen_height |
The screen height in pixels |
hz |
The sampling rate in Hz |
A data frame containing confounds metrics for the current step
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.