regional_seas.RdCreate buffer divided by closest region
regional_seas( x, group, dist = units::set_units(30, km), density = units::set_units(0.1, 1/km) )
| x | Spatial polygon layer |
|---|---|
| group | Character. The grouping variable for your subareas |
| dist | distance from coasts of the buffer area. See ?sf::st_buffer |
| density | density of points along the coastline. (the higher, the more precise the region attribution) |