Description Usage Arguments Value Author(s) Examples
Transform longitude/latiude points to the Mercator projection. The main purpose of this function is to compute centroids, and to illustrate rhumb lines in the vignette.
1 |
p |
longitude/latitude of point(s). Can be a vector of two numbers, a matrix of 2 columns (first one is longitude, second is latitude) or a SpatialPoints* object |
inverse |
Logical. If |
r |
Numeric. Radius of the earth; default = 6378137 m |
matrix
Robert Hijmans
1 2 3 |
Loading required package: sp
x y
[1,] 556597.5 6800125
lon lat
[1,] 5 52
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.