Reapply the 'eye_table' Class to an Object
as_eye_table.Rd
The `as_eye_table` function is a simple utility function that reapplies the 'eye_table' class to a given object if it is not already part of its class attribute. This function is not intended for serious use.
Examples
# Create a simple data.frame
df <- data.frame(x = 1:5, y = 6:10)
# Apply the 'eye_table' class to df
eye_table_df <- as_eye_table(df)
class(eye_table_df)
#> [1] "eye_table" "data.frame"