View source: R/sphere2cartesian.R
sphere2cartesian | R Documentation |
Convert rotated spherical coordinates back to Cartesian coordinates
sphere2cartesian(X, Y, Z, lonR, latR, verbose = FALSE)
X |
A numeric vector of X coordinates, where X is the radial distance |
Y |
A numeric vector of Y coordinates, where Y is the polar angle |
Z |
A numeric vector of Z coordinates, where Z is the azimuthal angle |
lonR |
Center longitude of viewing angle |
latR |
Center latitude of viewing angle |
verbose |
a boolean; if TRUE print information about progress |
A list(Lon=longitudes, Lat=latitudes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.