Description Usage Arguments Examples
Function for finding a centroid and ensuring that it is within the polygon for irregularly shaped polygons This function returns an sf point object.
1 |
poly |
the sf object containing polygons that you want centroids for |
1 | sites_lab <- st_centroid_within_poly(sites_crop)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.