sys_funcCircleCoords {sysAgNPs} | R Documentation |
Generate circle coordinates This function is derived from the 'ggradar' package. https://github.com/ricardo-bion/ggradar/. Generate coordinates to draw a circle.
Description
Generate circle coordinates This function is derived from the 'ggradar' package. https://github.com/ricardo-bion/ggradar/. Generate coordinates to draw a circle.
Usage
sys_funcCircleCoords(center = c(0, 0), r = 1, npoints = 100)
Arguments
center |
coordinate for centroid |
r |
radius |
npoints |
number of coordinates to generate |
Value
a dataframe
Source
Adapted from Joran's response to https://stackoverflow.com/questions/6862742/draw-a-circle-with-ggplot2/.
[Package sysAgNPs version 1.0.0 Index]