coast | R Documentation |
Displays the coast and landmass surrounding the Gulf of Saint Lawrence.
coast(col = "grey80", border = "grey50", lwd = 0.4, ...)
coastline(col = "grey80", border = "grey50", lwd = 0.4, ...)
col |
The colour to be used for in-filling the landmass. If |
border |
The border colour to be used for displaying the coastline. |
lwd |
Border line width (see |
... |
Further arguments to be passed to the |
resolution |
Character string specifying the resolution of the coastline, topographical and bathymetric data file to be loaded. It may take the following values: ‘low’ (low resolution), ‘intermediate’ (intermediate resolution), ‘high’ (high resolution), or ‘full’ (full resolution). |
A spatial object containing the coastline coordinates is returned invisibly.
coastline()
: Alias for coast
polygon
# Display simple map:
plot(c(-66.5, -60), c(45, 49), type = "n")
coast()
# Read coastline data:
x <- coast()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.