Description Usage Arguments Value Author(s)
Transform a spherical coordinates set to cartesian coordinates
1 |
X |
A numerical vector or matrix whos entries constitute sperical coordinates. A vector should have 2 or 3 entries and a matrix should have 2 or 3 columns. If the input has 2 entries or columns it will be assumed that the radial distance i 1. The order of the vector entries (matrix columns) should be longitude, latitude and radial distance (if applicable). |
deg |
Logical value indicating whether the input is in randians or degrees. Radian is default. |
rep |
States the representation of the spherical coordinates.
If |
A data.frame
with 3 columns representing the cartesian coordinate set.
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.