| increase_polygon_vertices | R Documentation | 
This function interpolates additional vertices in a polygon data frame to increase its vertex density. It ensures that the polygon remains closed and that the new vertices are evenly distributed.
increase_polygon_vertices(polygon_df, avg_dist, skip = FALSE)
polygon_df | 
 A data frame representing the polygon, with columns for x and y coordinates.  | 
avg_dist | 
 The average distance between vertices after interpolation.  | 
skip | 
 Logical; if TRUE, the function skips the interpolation process and returns the original polygon.  | 
A data frame representing the polygon with increased vertex density.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.