normalize | R Documentation |
This function normalizes the eye-movements to a unit range based on the specified x and y bounds.
normalize(x, xbounds, ybounds, ...)
x |
The input object containing the eye-movements to be normalized. |
xbounds |
A vector containing the minimum and maximum x bounds for normalization. |
ybounds |
A vector containing the minimum and maximum y bounds for normalization. |
... |
Additional arguments to be passed to the normalization method. |
An object containing the normalized eye-movements in the unit range.
# Example usage of the normalize function
input_object <- # input object data containing eye-movements
x_bounds <- c(0, 1000) # X bounds for normalization
y_bounds <- c(0, 1000) # Y bounds for normalization
normalized_object <- normalize(input_object, xbounds = x_bounds, ybounds = y_bounds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.