end_check_endemic: Check endemicity based on species range.

Description Usage Arguments Value

View source: R/fun_check_endemic.R

Description

Check endemicity based on species range.

Usage

1
end_check_endemic(aoi, utm_epsg_code, buffer_distance_km, sp_range)

Arguments

aoi

A spatial representation of the area in which the species is expected to be endemic. Must be an sf-*POLYGON. Assumed to be in the WGS84 system (normal long-lat).

utm_epsg_code

An EPSG code (see e.g. epsg.io/4326) for the UTM system appropriate to the area of interest. Necessary to draw buffers in metres when the coordinates are provided in longitude-latitude.

buffer_distance_km

A buffer distance in kilometres. Primarily useful for marine species which may be considered endemic to waters off a feature such as an island.

sp_range

A spatial representation of the species' range. May be any GDAL compatible file, or an sf-*POLYGON. Assumed to be in the WGS84 system (normal long-lat).

Value

The proportion of the species range within a buffer around the area of interest.


pratikunterwegs/endemicr documentation built on April 2, 2021, 11:57 a.m.