Plot and inspect how preprocessing steps are changing the pupil data. An exploratory function to help determine preprocessing parameters. See https://dr-jt.github.io/pupillometry/ for more information.
pupil_plot(x, y, trial = "all", sub_title = "")
data before preprocessing step.
data after preprocessing step.
what trial(s) to plot. default = "all"
subtitle for plot. default = ""
Plots.
This function is primarily used within other preprocessing functions. (e.g., `pupil_smooth(plot = TRUE)`).