donut_geomask: Donut Geomasking

View source: R/spatial.r

donut_geomaskR Documentation

Donut Geomasking

Description

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.

Usage

donut_geomask(xcoords, ycoords, min_dist = 5, max_dist = 10, units = "m")

Arguments

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

Value

A list containing new x and y coordinate vectors

Author(s)

Maia Lesosky

Luke Hannan


lukehannan/lumisc documentation built on May 9, 2022, 12:59 p.m.