Learn R Programming

red (version 0.2.0)

map.habitat: Map species distribution of habitat specialist.

Description

Mapping of all habitat areas where the species is known to occur.

Usage

map.habitat(longlat, layer, polygon = TRUE, eval = TRUE)

Arguments

longlat
Matrix of longitude and latitude (two columns) of each occurrence record.
layer
RasterLayer object representing the presence/absence (1/0) of a single habitat type.
polygon
If TRUE, all habitat patches inside the minimum convex hull polygon encompassing all occurrence records are converted to presence.
eval
Build a matrix with EOO (from raw data), EOO (from model), AOO (from raw data) and AOO (from model).

Value

One raster file and possibly 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 habitat patches may be enough to map the species.