Add Scanpath to an Eye Table
add_scanpath.eye_table.Rd
This function adds a scanpath to an eye table.
Usage
# S3 method for class 'eye_table'
add_scanpath(x, outvar = "scanpath", fixvar = "fixgroup")
Examples
# Create an eye table with a fixation group
df <- data.frame(x = 1:5, y = 6:10, fixgroup = rep(1, 5))
eye_table_df <- as_eye_table(df)
# Add a scanpath to the eye table
eye_table_df <- add_scanpath.eye_table(eye_table_df)
#> Error in add_scanpath.eye_table(eye_table_df): could not find function "add_scanpath.eye_table"