Description Usage Arguments Details Value Author(s) See Also Examples
Transforms 3D spherical coordinates to cartesian coordinates. The user can choose to input the spherical coordinates in degrees or radians.
1 |
long |
Longitude values, can also contain a matrix of long, lat and radius (in that order). |
lat |
Latitude values. |
radius |
Radius values. |
deg |
Specifies if input is in degrees (default) or radians. |
This is a low level function that is used for plot transformations.
A data.frame is returned containing the columns x, y and z.
Aaron Robotham
1 |
Loading required package: RANN
Loading required package: NISTunits
Loading required package: pracma
x y z
[1,] 1 1 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.