powered by
polygon_coords(n = 5, x = 0, y = 0, radius = 1, angle = 0)
numeric
## Not run: # library(ggplot2) # ggplot(data = polygon_coords(n = 4:13, x = rnorm(10), y = rnorm(10), radius = .5)) + # geom_polygon(aes(x = x, y = y, fill = group)) # ## End(Not run)
Run the code above in your browser using DataLab