The newly added column has a stirng with the name of the area, or NA_character_

add_area_column(obj, areas)

Arguments

obj

EyerObject

areas

list of AreaObject. Needs to be a list with area objects inside, otherwise it won't parse well

Value

modified EyerObject or the object back if something doesn't work

Details

Adds new column to the fixations and gaze data frame from the area