Rescale spatial coordinates.
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.
Value
An object with rescaled spatial coordinates.
Details
This function rescales the spatial coordinates of an object by the given scale factors.
See also
rescale.fixation_group
and rescale.eye_density
for examples of specific method implementations for this generic.