Learn R Programming

red (version 0.2.0)

aoo: Area of Occupancy (AOO).

Description

Calculates the Area of Occupancy of a species based on either known records or predicted distribution.

Usage

aoo(layer, longlat = NULL)

Arguments

layer
RasterLayer object. If AOO is to be calculated based on known records, any raster with the relevant extent and cell size can be used. If AOO is to be calculated based on predicted distribution, a raster of presence/absence (1/0) is needed.
longlat
Matrix of longitude and latitude (two columns) of each occurrence record. Only needed if AOO is to be calculated based on known records.

Value

A single value in km2.

Details

AOO is calculated as the area of all known or predicted cells (usually 2x2 km) for the species. Known cells are used if long is given, predicted cells

Examples

Run this code
data(data.records)
data(data.sp)
aoo(data.sp, data.records)
aoo(data.sp)

Run the code above in your browser using DataLab