make_gazer | R Documentation |
This will make sure your data is in the right format for processing. This package is designed to deal with data at it comes out of the eyetracker in a long-form csv style format. Thus data input here would be a long dataframe, wherein each row is a single frame collected by the eyetracker.
make_gazer(data, subject = "subject", trial = "subject",
time = "time", x = "x", y = "y", pupil = NULL)
data |
a raw, long form dataframe organised by subject, trial, and time. |
subject |
column name indicating subject ID |
trial |
column name indicating trial ID. This should be unique for participants |
time |
column name indicating time column (should be numeric) |
x |
gaze x coordinates |
y |
gaze y coordinates |
pupil |
name of pupil colum |
A dataframe ready to use in gazer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.