map.habitat {red} | R Documentation |
Map species distribution of habitat specialist.
Description
Mapping of all habitat patches where the species is known to occur.
Usage
map.habitat(
longlat,
layer,
move = TRUE,
mcp = FALSE,
points = FALSE,
eval = TRUE
)
Arguments
longlat |
Matrix of longitude and latitude or eastness and northness (two columns in this order) of each occurrence record. |
layer |
RasterLayer object representing the presence/absence (1/0) of a single habitat type. |
move |
If TRUE, identifies and moves presence records to closest cells with suitable habitat. Use when spatial error might put records outside the correct patch. |
mcp |
If TRUE, all habitat patches inside the minimum convex hull polygon encompassing all occurrence records are converted to presence. |
points |
If TRUE, force map to include cells with presence records even if suitable habitat was not identified. |
eval |
If TRUE, build a matrix with EOO (from raw data), EOO (from model), AOO (from raw data) and AOO (from model). |
Details
In many cases a species has a very restricted habitat and we generally know where it occurs. In such cases using the distribution of the known habitat patches may be enough to map the species.
Value
One raster object and, if eval = TRUE, a matrix with EOO (from raw data), EOO (from model), AOO (from raw data) and AOO (from model).