map.points | R Documentation |
Mapping of all cells where the species is known to occur.
map.points(longlat, layers, eval = TRUE)
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. |
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).
One raster object and, if EVAL = TRUE, a matrix with EOO and AOO.
records = red.examples("red.records")
layers = red.examples("red.layers")
terra::plot(map.points(records, layers, eval = FALSE))
points(records)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.