| clock2cart {IDPmisc} | R Documentation |
Converts clock coordinates (rho, phi) to cartesian
coordinates (x, y.
clock2cart(rho, phi, circle)
rho |
Distance of point from center of coordinate system. |
phi |
Angle between North (12 o' clock), center and the point, measured clockwise. |
circle |
Defines the full circle in the units of phi. |
Data frame with
|
Cartesian coordinates. |
Rene Locher
xy <- clock2cart(5,80,360) xy cart2clock(xy[1],xy[2],360) cart2clock(0,1,360) cart2clock(1,1,360)