normalize: Normalize Eye-Movements to Unit Range

View source: R/all_generic.R

normalizeR Documentation

Normalize Eye-Movements to Unit Range

Description

This function normalizes the eye-movements to a unit range based on the specified x and y bounds.

Usage

normalize(x, xbounds, ybounds, ...)

Arguments

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.

Value

An object containing the normalized eye-movements in the unit range.

Examples

# 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)


bbuchsbaum/eyesim documentation built on May 9, 2023, 3:29 a.m.