make_gazer: Prepare data for pre-processing in Gazer

Description Usage Arguments Value

View source: R/make_gazer.R

Description

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.

Usage

1
2
make_gazer(data, subject = "subject", trial = "subject",
  time = "time", x = "x", y = "y", pupil = NULL)

Arguments

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

Value

A dataframe ready to use in gazer


jgeller112/gazer documentation built on Jan. 13, 2020, 1:04 p.m.