cart2polar | R Documentation |
convert Cartesian coordinates to polar coordinates
cart2polar(x, y, xm = median(x), ym = median(y))
x |
the x coordinate in Cartesian |
y |
the y coordinate in Cartesian |
xm |
the x coordinate of origin point in polar |
ym |
the y coordinate of origin point in polar |
a list containing r: distance to origin point and t: angle in polar coordinate system
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.