View source: R/splot-polygons.R
| subdivide_polygon | R Documentation |
Interpolates extra points along each edge of a polygon so that vertex-count-based fill calculations produce smooth, accurate proportions.
subdivide_polygon(verts, n_per_edge = 25)
verts |
List with |
n_per_edge |
Number of subdivisions per edge. |
List with x, y vectors (n_corners * n_per_edge points).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.