map.points: Map recorded distribution of species.

View source: R/map.R

map.pointsR 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)

red documentation built on Sept. 9, 2023, 1:07 a.m.

Related to map.points in red...