This function draws a circle using the polygon function from the graphics package. It is an auxiliary function used by radviz2d.
circledraw (numpts = 200, radius = 1)
Number of edges of the polygon, default is 200.
Radius of the circle to be drawn, default is 1.
A circle of a specified radius is drawn by the polygon function of the graphics library by constructing a polygon with numpts number of edges. It is intended to be an auxiliary function for the radviz2d visualization.
Displays a circle of radius = radius.
#----Circledraw examples circledraw()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.