pcardioide | R Documentation |
Function to build a cardioide
pcardioide(theta, raio, k, n)
theta |
is a vector length 2 with start angle and end angle |
raio |
is a vector length 1 with radius value |
k |
is a vector of length 1 with angles in degree to rotate the point (x,y) |
n |
is a number of points |
Returns a dataframe with the original points plus the respective rotations of these points.
Luciane Ferreira Alcoforado
theta = c(0,2*pi) k=45 raio = 1 n=20 pcardioide(theta, raio, k, n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.