flatpoints {globe} | R Documentation |
Plot Points on a 2D Projection of the Earth
Description
Plots points on a 2D projection of the Earth created using
flatearth
, taking into account the projection used.
Usage
flatpoints(loc, projection = c("atlas", "cylindrical"), ..., do.plot)
Arguments
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. |
Details
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.
Value
(Invisibly) a list(x,y)
giving the plotted positions of
the points.
Author(s)
Adrian Baddeley and Tom Lawrence
See Also
Examples
flatearth("atlas")
flatpoints(place("nedlands"))
[Package globe version 1.2-0 Index]