donut_geomask | R Documentation |
Transform x:y coordinates to new random x:y coordinates within a defined donut to mask original location. This function works with GPS coordinates as well. Work is being done on supporting lon:lat coordinates.
donut_geomask(xcoords, ycoords, min_dist = 5, max_dist = 10, units = "m")
xcoords |
X coordinates to transform |
ycoords |
Y coordinates to transform |
min_dist |
The minimum distance the new transformed points must be from the original point |
max_dist |
The maximum distance the new transformed points must be from the original point |
units |
The units to do the transformation in by default meters, else will perform transformation on coordinate data |
A list containing new x and y coordinate vectors
Maia Lesosky
Luke Hannan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.