regional_seas: Create buffer divided by closest region

Description Usage Arguments

View source: R/regional_seas.R

Description

Create buffer divided by closest region

Usage

1
2
3
4
5
6
regional_seas(
  x,
  group,
  dist = units::set_units(30, km),
  density = units::set_units(0.1, 1/km)
)

Arguments

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)


statnmap/cartomisc documentation built on Aug. 20, 2020, 2:22 a.m.