plot_detrend_overlay | R Documentation |
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.
plot_detrend_overlay(
pupil_data,
pupil_steps,
preview_n = preview_n,
plot_params = list(),
suppress_prompt = TRUE
)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.