plot_detrend_overlay {eyeris} | R Documentation |
Internal helper to plot detrending overlay
Description
This function replicates the exact detrending visualization from the
glassbox()
interactive preview mode. It uses robust_plot()
to show the
most recent detrended pupil signal overlaid with the fitted linear trend.
Usage
plot_detrend_overlay(
pupil_data,
pupil_steps,
preview_n = preview_n,
plot_params = list(),
suppress_prompt = TRUE
)
Arguments
pupil_data |
A single block of pupil timeseries data
(e.g. |
preview_n |
Number of columns for |
plot_params |
A named list of additional parameters to forward to
|
suppress_prompt |
Logical. Whether to skip prompting. Default = TRUE. |
Value
Logical indicating whether detrend overlay was plotted successfully
[Package eyeris version 2.1.0 Index]