Description Usage Arguments Value Author(s) Examples
Add one or more circles to a plot
1 | plotCircle(centre = c(0,0), radius = 1, ...)
|
centre |
xy coordinates for the centre of the circle. Can have
multiple centres in the form |
radius |
the desired radius. Can specify multiple radii with
|
... |
other plotting options (line type, width, color, etc). |
none.
Clark Richards
1 2 3 | plot(rnorm(100), rnorm(100))
plotCircle(centre=c(0,0), radius=1, col='red')
plotCircle(centre=c(0,0), radius=1.2, lty=3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.