generating a circle
generating a circle
circle(x = 0, y = 0, r = 1, n = 100)
x, y |
center of circle |
r |
radius of circle |
n |
number of points for polygon object (resolution) |
a matrix representing circle coordinates
# plot the default circle library(ggVennDiagram) library(sf) circle() %>% st_linestring() %>% plot()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.