Learn R Programming

mopa (version 1.0.1)

boundingCoords: Bounding box coordinates of xy records

Description

Creates a vector or a list of vectors of bounding coordinates around point records (xy records). This is an internal function used by function backgroundGrid.

Usage

boundingCoords(xy)

Arguments

xy

Data frame or list of data frames with coordinates (each row is a point)

Value

A vector or a list of vectors with bounding coordinates in the following form: c(x1, x2, y1, y2).

References

Iturbide, M., Bedia, J., Herrera, S., del Hierro, O., Pinto, M., Gutierrez, J.M., 2015. A framework for species distribution modelling with improved pseudo-absence generation. Ecological Modelling. DOI:10.1016/j.ecolmodel.2015.05.018.