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.
I just discovered a quirk of add_aoi() - if you attempt to pass it a dataframe variable that has been cast to a vector, it will fail silently, and write it to an existing column (I think the column number corresponding to the level of the factor it happens to be?) rather than making a new one. This happened as I was trying to loop through a csv of several different AOIs - the default behavior of read.csv is to treat all strings as factors, so if this can't be changed, a note in the docs to that effect could be helpful.
I just discovered a quirk of add_aoi() - if you attempt to pass it a dataframe variable that has been cast to a vector, it will fail silently, and write it to an existing column (I think the column number corresponding to the level of the factor it happens to be?) rather than making a new one. This happened as I was trying to loop through a csv of several different AOIs - the default behavior of read.csv is to treat all strings as factors, so if this can't be changed, a note in the docs to that effect could be helpful.
Works fine:
Bad behavior: