rescale: rescale

View source: R/all_generic.R

rescaleR Documentation

rescale

Description

Rescale spatial coordinates.

Usage

rescale(x, sx, sy)

Arguments

x

An object containing spatial coordinates to be rescaled.

sx

A numeric value representing the x-axis scale factor.

sy

A numeric value representing the y-axis scale factor.

Details

This function rescales the spatial coordinates of an object by the given scale factors.

Value

An object with rescaled spatial coordinates.

See Also

rescale.fixation_group and rescale.eye_density for examples of specific method implementations for this generic.


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