AssignNewTimes: Assign new times to a trial once it has been aligned at a...

Description Usage Arguments Value

Description

Assign new times to a trial once it has been aligned at a reference frame

Usage

1
AssignNewTimes(trial, zero_frame, frame_rate = lwl_constants$ms_per_frame)

Arguments

trial

a Trial object

zero_frame

the index of the reference frame that will mark time = 0 in the aligned trial

frame_rate

the eye-tracker sampling rate. Defaults to lwl_constants$ms_per_frame which is 16.6546ms.

Value

the inputted trial object with updated values in its Time column and an added FrameRate attribute


tjmahr/lookr documentation built on May 31, 2019, 3:41 p.m.