mollweide_projection {glow} | R Documentation |
mollweide_projection
Description
Performs a cartographic mollweide projection from polar coordinates (latitude/longitude) to X-Y map coordinates
Usage
mollweide_projection(latitude, longitude, meridian)
Arguments
latitude |
Latitude (aka declination) of points |
longitude |
Longitude (aka right ascension) of points |
meridian |
The x=0 center of the plot |
Details
This function uses the "Newton-Raphson with fast convergence everywhere" algorithm.
Latitude and longitude should be in units of radians not degrees. Latitude ranges from +/- pi/2 and longitude ranges from +/- pi.
Value
X/Y coordinates
See Also
https://en.wikipedia.org/wiki/Talk:Mollweide_projection
Examples
longitude <- pi / 4
latitude <- pi / 4
mollweide_projection(longitude, latitude, meridian = 0)
[Package glow version 0.11.0 Index]