scale_spatial_locations | R Documentation |
Simple scaling of spatial locations by given scale_factor
.
Values will be scaled from the coordinate origin or coordinates provided through
scenter
param.
scale_spatial_locations(
spatlocs,
scale_factor = c(x = 1, y = 1, z = 1),
scenter = c(x = 0, y = 0, z = 0)
)
spatlocs |
spatial locations information to scale |
scale_factor |
scaling factor to apply to coordinates. |
scenter |
center from which to scale spatial coordinates. Given as vector of xy(z) coordinates. |
scale_factor
either given as a single value where it will be applied to
x, y, and z (if available) dimensions or as a vector of named values for 'x',
'y', (and 'z').
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.