circle_projector | R Documentation |
project points to a circle
circle_projector(
x,
y,
x0 = 0,
y0 = 0,
r = 1,
source = c("x", "y", "-x", "-y", "center")
)
x, y |
points to be projected |
x0, y0 |
circle center |
r |
radius of circle |
source |
projection type. |
Here, for sources of x or y, projected points will be at the right or up half circle; for sources of -x or -y, projected points will be at the left or down half circle
data.frame of coordinates of projected points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.