draw_circles {circles} | R Documentation |
Generate Points for Drawing Circles
Description
Creates points along the perimeter of a circle for plotting as a path.
Usage
draw_circles(data, x_col = "x", y_col = "y", r_col = "r", n_points = 500)
Arguments
data |
A data frame containing circle data (centers and radii). |
x_col |
Name of the column containing x-coordinates of circle centers. |
y_col |
Name of the column containing y-coordinates of circle centers. |
r_col |
Name of the column containing circle radii. |
n_points |
Number of points to generate around each circle perimeter. |
Value
A dataframe with x, y coordinates for plotting and group identifier per circle plotted.
[Package circles version 0.1.0 Index]