get_circle | R Documentation |
Given x,y coordinates and a radius, this function generates points on the circumference of the circle. This function is used by plot_network to plot cape results in a circular layout.
get_circle(radius, center_x = 1, center_y = 1, dens = 5e-04)
radius |
A numeric value giving the radius of the circle |
center_x |
The x coordinate for the center of the circle |
center_y |
The y coordinate for the center of the circle |
dens |
A numeric value controlling how many points are returned. Smaller values will return more points along the circumference of the circle |
This function returns a list with two elements x and y. These are the x and y coordinates of the circle. Plotted against each other they will plot a circle.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.