rescale | R Documentation |
Rescale spatial coordinates.
rescale(x, sx, sy)
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. |
This function rescales the spatial coordinates of an object by the given scale factors.
An object with rescaled spatial coordinates.
rescale.fixation_group
and rescale.eye_density
for examples of specific method implementations for this generic.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.