View source: R/060-process-window-representations-0-8.R
| aoi_trajectory_features | R Documentation |
Converts AOI occupancy over binned time into orthogonal-polynomial trajectory coefficients. Coefficients summarize temporal shape and are not latent psychological traits by themselves.
aoi_trajectory_features(
data,
person = "person_id",
trial = "trial_id",
time = "time_ms",
aoi = "aoi",
bin_ms = 100,
degree = 3L,
aois = NULL
)
data |
Sample-level data. |
person, trial, time, aoi |
Column names. |
bin_ms |
Temporal bin width. |
degree |
Polynomial degree. |
aois |
Optional AOIs to encode; defaults to observed AOIs. |
An object of class "eye_aoi_trajectory", stored as a named list, with components "features", "aois", "degree", "bin_ms", "person", "trial", "caveat". It contains aOI growth-curve/trajectory features 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.