jwdink / eyetrackingR

This package is designed to make dealing with eye-tracking data easier. It addresses tasks along the pipeline from raw data to analysis and visualization.
http://eyetrackingr.com
Other
82 stars 20 forks source link

Allow user to clean 'frozen' trials where baby looked only to one AOI, or insufficiently (by threshold) to other AOIs #47

Open brockf opened 8 years ago

jwdink commented 8 years ago

Something like?:

data %>%
    group_by(Participant, Trial) %>%
    mutate(OverallAOI1 = mean(AOI1, na.rm=TRUE) %>%
    filter(OverallAOI1<=.90)
brockf commented 8 years ago

Yah something like that, but also ensuring that, if someone has 3 AOIs, each was looked at at least Xms or something. A few flexible options.