View source: R/pipeline-confounds.R
tag_blinks | R Documentation |
Identifies when pupil data corresponds to eye blinks based on missing values in the pupil vector.
tag_blinks(pupil_df, pupil_vec)
pupil_df |
A data frame containing pupil data |
pupil_vec |
A numeric vector containing pupil diameter values |
A data frame with added column:
is_blink
: Logical indicating if pupil data corresponds to a
blink (NA values)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.