makeElipseCoords | R Documentation |
Create x & y coordinates for an elipse from parameters.
save
.
makeElipseCoords(x0 = 0, y0 = 0, b = 1, a = 1, alpha = 0, pct.range = c(0,1), len = 50)
x0 |
x coordinate of center of elipse. |
y0 |
y coordinate of center of elipse. |
b |
y axis stretch factor. |
a |
x axis stretch factor. |
alpha |
rotation factor. |
pct.range |
percentage of the way around the elipse. |
len |
number of points used to draw elipse. |
a 2 column (x and y) dataframe with coordinates for drawing an elipse
makeElipseCoords(x0 = 0, y0 = 0, b = 1, a = 2, alpha = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.