Description Usage Arguments Value
View source: R/postprocessing.R
Applies a postprocessing routine to classified gaze data as part of gazeHMM
.
Relabels samples that violate constraints and computes eye movement event metrics.
1 | postprocess(data, state, fr, min.sac = 0.01)
|
data |
Data frame with preprocessed gaze samples as returned by |
state |
Vector of state labels for each sample as returned by |
fr |
Sampling rate of the eye-tracker (in Hz). |
min.sac |
Minimum saccade duration (in s). |
A list with two objects: The preprocessed data with postprocessed sample labels and a list with data frames for each classified event containing the event metrics (e.g., fixation duration).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.