Center Eye-Movements in a New Coordinate System
center.Rd
This function centers the eye-movements in a new coordinate system with the specified origin.
Examples
# Example usage of the center function
input_object <- # input object data containing eye-movements
new_origin <- c(500, 500) # New coordinate system origin
centered_object <- center(input_object, origin = new_origin)
#> Error in UseMethod("center", x): no applicable method for 'center' applied to an object of class "c('double', 'numeric')"