GetDwellTimes: Compute dwell times

Description Usage Arguments Value

Description

A "dwell" is an uninterrupted gaze. This function calculates the longest dwell time per image and the total time dwelling in each trial.

Usage

1

Arguments

x

a Trial with a GazeByImageAOI column or a TrialList where each Trial has a GazeByImageAOI column

Value

the Trial object(s) updated to include a DwellSummary attribute which contains a dataframe describing the maximum and total dwell times for each image location and stimulus.


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