View source: R/EOO_functions.R
makeEOO | R Documentation |
makeEOO
is a generic function that creates a minimum convex polygon
enclosing all occurrences of the provided spatial data. If the input provided
is a raster layer, the points are taken from a buffer that has the radius of
half of the shorter edge of the pixel around the centroid.
makeEOO(input.data)
input.data |
Spatial object of an ecosystem or species distribution. Please use a CRS with units measured in metres. |
An object of class SpatVect representing the EOO of
input.data
. Also inherits its CRS.
Nicholas Murray murr.nick@gmail.com, Calvin Lee calvinkflee@gmail.com
Bland, L.M., Keith, D.A., Miller, R.M., Murray, N.J. and Rodriguez, J.P. (eds.) 2016. Guidelines for the application of IUCN Red List of Ecosystems Categories and Criteria, Version 1.0. Gland, Switzerland: IUCN. ix + 94pp. Available at the following web site: https://iucnrle.org/
Other EOO functions:
getAreaEOO()
library(terra)
crs.UTM55S <- '+proj=utm +zone=55 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs'
r1 <- rast(ifelse((volcano<130), NA, 1), crs = crs.UTM55S)
ext(r1) <- c(0, 6100, 0, 8700)
EOO.polygon <- makeEOO(r1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.