View source: R/061-pupil-advanced-representations-0-8.R
| audit_pupil_fatigue_drift | R Documentation |
Audit within-person pupil fatigue/trial-order drift
audit_pupil_fatigue_drift(
data,
pupil = "pupil_peak",
trial_order = "trial_sequence",
person = "person_id",
luminance = NULL,
difficulty = NULL,
engine = c("auto", "plm", "lm_fixed_effects")
)
data |
Trial-level data. |
pupil, trial_order, person |
Required columns. |
luminance, difficulty |
Optional covariates. |
engine |
'auto', 'plm', or 'lm_fixed_effects'. |
An object of class "eye_pupil_fatigue_drift", stored as a named list, with components "model", "coefficients", "data", "engine", "status", "caveat". It contains within-person pupil fatigue/trial-order drift and associated metadata or diagnostics needed to interpret the result.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.