map.points {red} | R Documentation |
Map recorded distribution of species.
Description
Mapping of all cells where the species is known to occur.
Usage
map.points(longlat, layers, eval = TRUE)
Arguments
longlat |
Matrix of longitude and latitude or eastness and northness (two columns in this order) of each occurrence record. |
layers |
Raster* object as defined by package raster. Any raster with the relevant extent and cell size can be used. |
eval |
If TRUE, build a matrix with EOO and AOO calculated from occurrence records only. |
Details
To be used if either information on the species is very scarce (and it is not possible to model the species distribution) or, on the contrary, complete (and there is no need to model the distribution).
Value
One raster object and, if EVAL = TRUE, a matrix with EOO and AOO.
Examples
records = red.examples("red.records")
layers = red.examples("red.layers")
terra::plot(map.points(records, layers, eval = FALSE))
points(records)
[Package red version 1.6.1 Index]