add_area_column: Add area column to object data

Description Usage Arguments Details Value

View source: R/eyer-preprocessing.R

Description

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

Usage

1
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

Details

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

Value

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


hejtmy/eyer documentation built on Sept. 18, 2019, 12:42 p.m.