Description Usage Arguments Value See Also Examples
Convert from cardinal to polar coordinates
1 |
x |
matrix or data frame with columns [x,y] |
orig |
vector with the x,y coordinates of the origin, defaults to (0,0) |
a data.frame with columns [theta,rho], with theta following trigonometric conventions and rho in the same unit as the input x and y
link{pol2car}
for the reverse
1 2 3 | car2pol(data.frame(x=1, y=1))
car2pol(data.frame(1, 0))
car2pol(data.frame(-1, 0))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.