preaction_process_features: Build pre-action process features

View source: R/066-process-decision-features-0-8.R

preaction_process_featuresR Documentation

Build pre-action process features

Description

Build pre-action process features

Usage

preaction_process_features(
  data,
  by = c("person_id", "trial_id"),
  time = "time_ms",
  response_time = "response_time_ms",
  windows_ms = c(500, 1000, 2000),
  aoi = "aoi",
  pupil = "pupil_bc",
  blink = "blink"
)

Arguments

data

Sample-level data.

by

Grouping columns.

time, response_time

Time and response-event columns.

windows_ms

Positive look-back windows before action.

aoi, pupil, blink

Optional feature columns.

Value

An object of class "eye_preaction_process_features", stored as a named list, with components "data", "windows_ms", "by", "status", "caveat". It contains pre-action process features and associated metadata or diagnostics needed to interpret the result.


eyeprocess documentation built on Sept. 28, 2026, 5:08 p.m.