regularPolygon.Rd
Create Regular Polygon
regularPolygon(n, sf = F)
n | number of sides |
---|---|
sf | if TRUE the sf polygon object was returned. |
matrix of points or sf polygon.
regularPolygon(5) %>% plot() regularPolygon(5,TRUE) %>% tilePlotter() #> Coordinate system already present. Adding new coordinate system, which will replace the existing one.