| encircle | R Documentation | 
Draws circles
encircle(
  r = 1,
  x = 0,
  y = 0,
  ndiv = 360,
  plot = TRUE,
  add = TRUE,
  output = FALSE,
  ...
)
| r | the radius of the circles (of length 1 or n) | 
| x | the x value of the centre of the circles (of length 1 or n) | 
| y | the y value of the centre of the circles (of length 1 or n) | 
| ndiv | the number of segments making the circles | 
| plot | whether to plot the circles | 
| add | whether to add to an existing plot | 
| output | whether to return an output | 
| ... | graphical parameters to feed to lines | 
a list of x and y matrices having n rows, one for each circle
plot(0, 0, xlim = c(-1,1), ylim = c(-1,1), asp = 1)
encircle(lwd = 2)
encircle(r = seq(0.1,0.9,0.1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.