| drawCircle | R Documentation | 
Draw a circle on an image.
drawCircle(img, x, y, radius, col, fill=FALSE, z=1)
| img | An  | 
| x,y,radius | numerics indicating the center and the radius of the circle. | 
| col | A numeric or a character string specifying the color of the circle. | 
| fill | A logical indicating whether the circle should be filled.
Default is  | 
| z | A numeric indicating on which frame of the image the circle should be drawn. Default is 1. | 
An Image object or an array, containing the transformed version
of img.
Gregoire Pau, 2010
  ## Simple white circle
  x = matrix(0, nrow=300, ncol=300)
  y = drawCircle(x, 100, 200, 47, col=1)
  display(y)
  
  ## Simple filled yellow circle
  x = channel(y, 'rgb')
  y = drawCircle(x, 200, 140, 57, col='yellow', fill=TRUE)
  display(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.