Learn R Programming

retistruct (version 0.6.3)

sphere.spherical.to.polar.cart: Convert spherical coordinates on sphere to polar projection in Cartesian coordinates

Description

This is the inverse of polar.cart.to.sphere.spherical

Usage

sphere.spherical.to.polar.cart(r, pa = FALSE, preserve = "latitude")

Arguments

r

2-column Matrix of spherical coordinates of points on sphere. Column names are phi and lambda.

pa

If TRUE, make this an area-preserving projection

preserve

Quantity to preserve locally in the projection. Options are latitude, area or angle

Value

2-column Matrix of Cartesian coordinates of points on polar projection. Column names should be x and y