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