Skip to contents

Aggregating data

Functions for aggregating looking data

create_response_def()
Create a response definition
cycle_response_def()
Create complementary response definitions
aggregate_looks() aggregate_looks2()
Aggregate looks

Manipulating eyetracking data

Functions for manipulating eyetracking data

create_aoi()
Create an AOI object
add_aois()
Map the x and y positions of looks to Areas of Interest.
adjust_times()
Adjust looking times relative to some event
adjust_times_around_zero()
Adjust time values around 0
assign_bins()
Assign bins for downsampling looking data
trim_to_bin_width()
Truncate times to fit bin width
interpolate_looks()
AOI-based gaze interpolation

Miscellany

Utility functions

empirical_logit() empirical_logit_weight()
Compute empirical logit
se_prop()
Standard error for proportions

Data

Example datasets

four_image_data
Example data from a Visual World experiment
example_files()
Locate the path of example eyetracking files

Little Listeners project

These functions apply only to data collected for the Little Listeners project.

convert_datawiz_code_to_aoi()
Convert to DataWiz codes to AOI names
melt_datawiz()
Convert DataWiz data into long format
read_datawiz()
Read eyetracking data from a datawiz file
read_gazedata()
Load a .gazedata file for an experiment