speed_pupil: Calculates max absoulte dilation speed as suggested in Kret &...

View source: R/speed_pupil.R

speed_pupilR Documentation

Calculates max absoulte dilation speed as suggested in Kret & Sjak-Shie (in press) calculates the median absoulte deviation (MAD) and sets the threshold to filter on.

Description

Calculates max absoulte dilation speed as suggested in Kret & Sjak-Shie (in press) calculates the median absoulte deviation (MAD) and sets the threshold to filter on.

Usage

speed_pupil(pup, time)

Arguments

pup

column listing pupil sizes

time

column in data file listing time

Value

data with pupil speeds for each time point


dmirman/gazer documentation built on Aug. 1, 2022, 2:02 p.m.