Calculates the extent (x- and y-limits in decimal degrees)
Usage
getextent(x, y, ext)
Arguments
x
x-coordinates in decimal degrees
y
y-coordinates in decimal degrees
ext
ext can be a raster from the raster package; an extent object from the raster package; "p" which means that the extent will be derived from the x- and y-coordinates in the input.
Value
xlm
x-limits
ylm
y-limits
beyond
a vector with ones where points are beyond extent and zeros where they are within the extent