center | R Documentation |
This function centers the eye-movements in a new coordinate system with the specified origin.
center(x, origin, ...)
x |
The input object containing the eye-movements to be centered. |
origin |
A vector containing the x and y coordinates of the new coordinate system's origin. |
... |
Additional arguments to be passed to the centering method. |
An object containing the centered eye-movements in the new coordinate system.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.