flatpoints {globe} | R Documentation |
Plots points on a 2D projection of the Earth created using
flatearth
, taking into account the projection used.
flatpoints(loc, projection = c("atlas", "cylindrical"), ..., do.plot)
loc |
A data frame containing latitudes and longitudes of points to be plotted. |
projection |
The projection that was used in creating the 2D image. |
... |
Other arguments usually used when plotting points. |
do.plot |
Logical value indicating whether to actually perform the plotting, or just to return the calculated coordinates. |
If the value of projection used in this function is not the one used to create the image, then the points will not be plotted.
(Invisibly) a list(x,y)
giving the plotted positions of
the points.
Adrian Baddeley and Tom Lawrence
flatearth("atlas")
flatpoints(place("nedlands"))