powered by
Create buffer around records in occ_data to be used as study area
occ_data
buffer_sdm(occ_data, size = NULL, crs = NULL)
A sf buffer around occ_data records.
sf
A data.frame object with species, decimalLongitude and decimalLatitude columns. Usually the output from GBIF_data.
data.frame
GBIF_data
numeric. The distance between the record and the margin of the buffer (i.e. buffer radius).
numeric
numeric. Indicates which EPSG it the occ_data in.
Luíz Fernando Esser (luizesser@gmail.com) https://luizfesser.wordpress.com
# Create sdm_area object: study_area <- buffer_sdm(occ, size=50000, crs=6933) plot(study_area)
Run the code above in your browser using DataLab