Description Usage Arguments Value Author(s) See Also
Plot a circle or regular polygon of a given radius at a given location.
1 |
x |
A numeric vector of length 1 or 2:
|
y |
Optional numeric vector of length 1 or 2:
|
add |
Logical value indicating whether circle should be added to an existing plot (default) or to a new plot. |
segs |
Integer; number of segments used to approximate a circle. A small number will produce a regular polygon inscribed within the radius, with a vertex at x, y |
how |
Character string specifying how x and y relate to the circle geometry. Currently only radius is implemented. |
... |
Other named arguments passed to |
Returns a data.frame with columns x and y specifying coordinates of the vertices.
M.W.Rowe, mwr.stats@gmail.com
par
and plot.default
give
more detailed descriptions of the ... plotting parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.