View source: R/binify_fixations.R
binify_fixations | R Documentation |
Takes a data frame list of fixations and returns a time series with the fixations expanded into time bins of specified duration.
binify_fixations(gaze, binSize = 20, keepCols = c("Subject",
"TrialNumber", "Target", "T"), maxTime = NULL)
gaze |
a data frame of fixations, as returned by readFixationReport |
binSize |
length of bins, in ms |
keepCols |
set of columns to keep, fixation start and end times will be dropped |
maxTime |
optional parameter to set maximum trial length |
data frame containing gaze data arranged by bin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.