alphahull_sf | R Documentation |
Convert an alphahull ahull object into an sf object.
alphahull_sf(xy, alpha, buffer_width)
xy |
A two-column matrix of x, y coordinates. |
alpha |
Alpha parameter for calculating the hull. |
buffer_width |
The width (in xy CRS) to buffer intermediate polylines such that they combine into closed polygons. |
An sf
object.
Adapted from ConR:::.alpha.hull.poly and ConR:::.alpha.hull.poly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.