R: Methods for Function elide in Package 'maptools'
elide-methods
R Documentation
Methods for Function elide in Package ‘maptools’
Description
Methods for function elide to translate and disguise coordinate placing in the real world.
Usage
elide(obj, ...)
Arguments
obj
object to be elided
...
other arguments:
bb
if NULL, uses bounding box of object, otherwise the given bounding box
shift
values to shift the coordinates of the input object; this is made ineffective by the scale argument
reflect
reverse coordinate axes
scale
if NULL, coordinates not scaled; if TRUE, the longer dimension is scaled to lie within [0,1] and aspect maintained; if a scalar, the output range of [0,1] is multiplied by scale
flip
translate coordinates on the main diagonal
rotate
default 0, rotate angle degrees clockwise around center
center
default NULL, if not NULL, the rotation center, numeric of length two
unitsq
logical, default FALSE, if TRUE and scale TRUE, impose unit square bounding box (currently only points)
Value
The methods return objects of the input class object with elided coordinates; the coordinate reference system is not set. Note that if the input coordinates or centroids are in the data slot data.frame of the input object, they should be removed before the use of these methods, otherwise they will betray the input positions.