Run a Gazepoint pupil preprocessing multiverse
Source:R/run_gazepoint_pupil_multiverse.R
run_gazepoint_pupil_multiverse.RdRun all pupil preprocessing branches defined by
create_gazepoint_preprocessing_multiverse(). Each branch can apply pupil
artifact flagging, interpolation, baseline correction, smoothing, and
optional pupil-window summarisation.
Usage
run_gazepoint_pupil_multiverse(
data,
multiverse,
branch_ids = NULL,
pupil_col = NULL,
time_col = NULL,
group_cols = NULL,
summarise_windows = FALSE,
windows = NULL,
keep_outputs = TRUE,
stop_on_error = FALSE
)Arguments
- data
A Gazepoint master table or processed pupil table.
- multiverse
A
gp3_preprocessing_multiverseobject returned bycreate_gazepoint_preprocessing_multiverse().- branch_ids
Optional character vector of pupil branch IDs to run.
- pupil_col
Optional pupil column passed to downstream preprocessing helpers when supported.
- time_col
Optional time column passed to downstream preprocessing helpers when supported.
- group_cols
Optional grouping columns passed to downstream preprocessing helpers when supported.
- summarise_windows
Logical. If
TRUE, summarise each processed pupil branch into pupil analysis windows.- windows
Optional windows passed to
summarise_gazepoint_pupil_windows()whensummarise_windows = TRUE.- keep_outputs
Logical. If
TRUE, keep processed branch data inbranch_outputs.- stop_on_error
Logical. If
TRUE, stop when a branch fails. IfFALSE, record the branch error and continue.