Create buffer around records in occ_data to be used as study area
Arguments
- occ_data
A
data.frameobject with species, decimalLongitude and decimalLatitude columns. Usually the output fromGBIF_data.- size
numeric. The distance between the record and the margin of the buffer (i.e. buffer radius).- crs
numeric. Indicates which EPSG it theocc_datain.- mcp
boolean. Should the buffer be applied in each record (FALSE) or in a minimum convex polygon/convex hull (TRUE)? Standard isFALSE.
Examples
# Create sdm_area object:
study_area <- buffer_sdm(occ, size=50000, crs=6933)
plot(study_area)
