Description Usage Arguments Value Examples
Create Regular Polygon
1 | regularPolygon(n, sf = F)
|
n |
number of sides |
sf |
if TRUE the sf polygon object was returned. |
matrix of points or sf polygon.
1 2 | regularPolygon(5) %>% plot()
regularPolygon(5,TRUE) %>% tilePlotter()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.