powered by
generating a circle
circle(x = 0, y = 0, r = 1, n = 100)
a matrix representing circle coordinates
center of circle
radius of circle
number of points for polygon object (resolution)
# plot the default circle library(ggVennDiagram) library(sf) circle() %>% st_linestring() %>% plot()
Run the code above in your browser using DataLab