Description Usage Arguments Details Value Author(s) Examples
View source: R/MapContinents.R
Given a set of continent centres and their radius plots them on a Mercator projection
1 2 3 4 5 6 7 8 9 10 |
continent_centres |
A two-column matrix of decimalised longitudes (first column) and latitudes (second column). |
radius |
A single radius value for each continent in kilometres. |
xlim |
A single radius value for each continent in kilometres. |
ylim |
A single radius value for each continent in kilometres. |
resolution |
The number of points to use to plot each continent. |
sea_colour |
The colour value to use to plot the sea. |
land_colour |
The colour value used to plot the land. |
... |
Other arguments to be passed to plot. |
Nothing yet.
A Mercator projection plot of each continent.
Graeme T. Lloyd graemetlloyd@gmail.com
1 | MapContinents(continent_centres = matrix(c(-0, 0), ncol=2), radius = 2000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.