Description Usage Arguments Value Author(s)
Function for transforming cartesian coordinates to polar coordinates.
1 |
X |
A numerical vector or matrix whos columns constitute the x and y cartesian coordinates, respectively. A vector should have 2 entries and a matrix should have 2 columns. |
deg |
Logical value indicating whether the output should be in randians or degrees. Radian is default. |
unitlength |
Logical values indicating if the points should be returned with unit length.
If TRUE (default) |
A data.frame with 2 columns angle and radial distance.
Andreas Dyreborg Christoffersen andreas@math.aau.dk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.