circles | R Documentation |
Base R has a function for plotting circles called "symbols". Unfortunately, the size of the circles is inconsistent across devices. This function plots circles whose radius is specified in used coordinates.
circles(x, y, radius, bg = NULL, fg = "white", ...)
x |
centers (x coordinate) |
y |
centers (y coordinate) |
radius |
radius (in user coordinates) |
bg |
background colour |
fg |
foreground colour |
... |
passed to polygon, e.g. lwd |
none, used for side effect
Simon Barthelme
hough_circle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.