Description Usage Arguments Value
View source: R/fun_voronoi_area.R
Divide an area into Voronoi polygons
1 2 3 4 5 | demarcate_regions(
area_of_interest,
region_demarcation_points = list(main_islands = c(-160.1, 21.8), nwhi = c(-161.9,
23))
)
|
area_of_interest |
An sf-object showing the area of interest. Must have a CRS. Voronoi points will be converted to this CRS. |
region_demarcation_points |
A list of 2-element vectors which will be used to construct Voronoi polygons from the Hawaii buffer. Set to Niihau (main_islands) and Nihoa (NWHI). Must be specified in decimal degrees (WGS84 CRS: EPSG code = 4326). |
An sf-object with the area of interest demarcated into regions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.