Description Usage Arguments Examples
View source: R/butterfly_curve.R
Generates data for plotting a generalised butterfly curve (Fay, 1989) and stores it in a data frame with (x, y) coordinates. Refer to the Wikipedia article for details.
1 2 3 4 5 6 7 8 9 10 11 12 13 | butterfly_curve(
n = 1000,
a = 12,
b = 12,
c = 2,
d = 2,
e = 4,
f = 4,
g = 5,
h = 5,
i = 12,
j = 12
)
|
n |
The number of points to generate |
a |
A parameter |
b |
A parameter |
c |
A parameter |
d |
A parameter |
e |
A parameter |
f |
A parameter |
g |
A parameter |
h |
A parameter |
i |
A parameter |
j |
A parameter |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.