flatpoints: Plot Points on a 2D Projection of the Earth

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/ajbplot.R

Description

Plots points on a 2D projection of the Earth created using flatearth, taking into account the projection used.

Usage

1
  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

flatearth

Examples

1
2
flatearth("atlas")
flatpoints(place("nedlands"))

baddstats/globe documentation built on June 4, 2017, 12:12 a.m.